Package gov.nist.secauto.oscal.lib.model
Class Characterization.Facet
java.lang.Object
gov.nist.secauto.oscal.lib.model.Characterization.Facet
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Characterization
@MetaschemaAssembly(formalName="Facet",
description="An individual characteristic that is part of a larger set produced by the same actor.",
name="facet",
moduleClass=OscalAssessmentCommonModule.class,
valueConstraints=@AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\')]/@name",values=@AllowedValue(value="state",description="Indicates if the facet is \'initial\' as first identified, or \'adjusted\' indicating that the value has be changed after some adjustments have been made (e.g., to identify residual risk).")) @AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'state\']/@value",values={@AllowedValue(value="initial",description="As first identified."),@AllowedValue(value="adjusted",description="Indicates that residual risk remains after some adjustments have been made.")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://csrc.nist.gov/ns/oscal\']/@name",values={@AllowedValue(value="likelihood",description="General likelihood rating."),@AllowedValue(value="impact",description="General impact rating."),@AllowedValue(value="risk",description="General risk rating."),@AllowedValue(value="severity",description="General severity rating.")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://fedramp.gov\',\'http://fedramp.gov/ns/oscal\')]/@name",values={@AllowedValue(value="likelihood",description="Likelihood as defined by FedRAMP. The `class` can be used to specify \'initial\' and \'adjusted\' risk states."),@AllowedValue(value="impact",description="Impact as defined by FedRAMP. The `class` can be used to specify \'initial\' and \'adjusted\' risk states."),@AllowedValue(value="risk",description="Risk as calculated according to FedRAMP. The `class` can be used to specify \'initial\' and \'adjusted\' risk states.")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://cve.mitre.org\']/@name",values=@AllowedValue(value="cve-id",description="An identifier managed by the CVE program (see https://cve.mitre.org/).")) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\']/@name",values={@AllowedValue(value="access-vector",description="Base: Access Vector"),@AllowedValue(value="access-complexity",description="Base: Access Complexity"),@AllowedValue(value="authentication",description="Base: Authentication"),@AllowedValue(value="confidentiality-impact",description="Base: Confidentiality Impact"),@AllowedValue(value="integrity-impact",description="Base: Integrity Impact"),@AllowedValue(value="availability-impact",description="Base: Availability Impact"),@AllowedValue(value="exploitability",description="Temporal: Exploitability"),@AllowedValue(value="remediation-level",description="Temporal: Remediation Level"),@AllowedValue(value="report-confidence",description="Temporal: Report Confidence"),@AllowedValue(value="collateral-damage-potential",description="Environmental: Collateral Damage Potential"),@AllowedValue(value="target-distribution",description="Environmental: Target Distribution"),@AllowedValue(value="confidentiality-requirement",description="Environmental: Confidentiality Requirement"),@AllowedValue(value="integrity-requirement",description="Environmental: Integrity Requirement"),@AllowedValue(value="availability-requirement",description="Environmental: Availability Requirement")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'access-vector\']/@value",values={@AllowedValue(value="local",description="Local"),@AllowedValue(value="adjacent-network",description="Network Adjacent"),@AllowedValue(value="network",description="Network")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'access-complexity\']/@value",values={@AllowedValue(value="high",description="High"),@AllowedValue(value="medium",description="Medium"),@AllowedValue(value="low",description="Low")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'authentication\']/@value",values={@AllowedValue(value="multiple",description="Multiple"),@AllowedValue(value="single",description="Single"),@AllowedValue(value="none",description="None")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=(\'confidentiality-impact\', \'integrity-impact\', \'availability-impact\')]/@value",values={@AllowedValue(value="none",description="None"),@AllowedValue(value="partial",description="Partial"),@AllowedValue(value="complete",description="Complete")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'exploitability\']/@value",values={@AllowedValue(value="unproven",description="Unproven"),@AllowedValue(value="proof-of-concept",description="Proof-of-Concept"),@AllowedValue(value="functional",description="Functional"),@AllowedValue(value="high",description="High"),@AllowedValue(value="not-defined",description="Not Defined")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'remediation-level\']/@value",values={@AllowedValue(value="official-fix",description="Official Fix"),@AllowedValue(value="temporary-fix",description="Temporary Fix"),@AllowedValue(value="workaround",description="Workaround"),@AllowedValue(value="unavailable",description="Unavailable"),@AllowedValue(value="not-defined",description="Not Defined")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'report-confidence\']/@value",values={@AllowedValue(value="unconfirmed",description="Unconfirmed"),@AllowedValue(value="uncorroborated",description="Uncorroborated"),@AllowedValue(value="confirmed",description="Confirmed"),@AllowedValue(value="not-defined",description="Not Defined")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=\'collateral-damage-potential\']/@value",values={@AllowedValue(value="none",description="None"),@AllowedValue(value="low",description="Low (light loss)"),@AllowedValue(value="low-medium",description="Low Medium"),@AllowedValue(value="medium-high",description="Medium High"),@AllowedValue(value="high",description="High (catastrophic loss)"),@AllowedValue(value="not-defined",description="Not Defined")}) @AllowedValues(level=ERROR,target="(.)[@system=\'http://www.first.org/cvss/v2.0\' and @name=(\'target-distribution\', \'confidentiality-requirement\', \'integrity-requirement\', \'availability-requirement\')]/@value",values={@AllowedValue(value="none",description="None"),@AllowedValue(value="low",description="Low"),@AllowedValue(value="medium",description="Medium"),@AllowedValue(value="high",description="High"),@AllowedValue(value="not-defined",description="Not Defined")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\')]/@name",values={@AllowedValue(value="attack-vector",description="Base: Attack Vector"),@AllowedValue(value="access-complexity",description="Base: Attack Complexity"),@AllowedValue(value="privileges-required",description="Base: Privileges Required"),@AllowedValue(value="user-interaction",description="Base: User Interaction"),@AllowedValue(value="scope",description="Base: Scope"),@AllowedValue(value="confidentiality-impact",description="Base: Confidentiality Impact"),@AllowedValue(value="integrity-impact",description="Base: Integrity Impact"),@AllowedValue(value="availability-impact",description="Base: Availability Impact"),@AllowedValue(value="exploit-code-maturity",description="Temporal: Exploit Code Maturity"),@AllowedValue(value="remediation-level",description="Temporal: Remediation Level"),@AllowedValue(value="report-confidence",description="Temporal: Report Confidence"),@AllowedValue(value="modified-attack-vector",description="Environmental: Modified Attack Vector"),@AllowedValue(value="modified-attack-complexity",description="Environmental: Modified Attack Complexity"),@AllowedValue(value="modified-privileges-required",description="Environmental: Modified Privileges Required"),@AllowedValue(value="modified-user-interaction",description="Environmental: Modified User Interaction"),@AllowedValue(value="modified-scope",description="Environmental: Modified Scope"),@AllowedValue(value="modified-confidentiality",description="Environmental: Modified Confidentiality"),@AllowedValue(value="modified-integrity",description="Environmental: Modified Integrity"),@AllowedValue(value="modified-availability",description="Environmental: Modified Availability"),@AllowedValue(value="confidentiality-requirement",description="Environmental: Confidentiality Requirement Modifier"),@AllowedValue(value="integrity-requirement",description="Environmental: Integrity Requirement Modifier"),@AllowedValue(value="availability-requirement",description="Environmental: Availability Requirement Modifier")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'access-vector\']/@value",values={@AllowedValue(value="network",description="Network"),@AllowedValue(value="adjacent",description="Adjacent"),@AllowedValue(value="local",description="Local"),@AllowedValue(value="physical",description="Physical")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'access-complexity\']/@value",values={@AllowedValue(value="high",description="High"),@AllowedValue(value="low",description="Low")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=(\'privileges-required\', \'confidentiality-impact\', \'integrity-impact\', \'availability-impact\')]/@value",values={@AllowedValue(value="none",description="None"),@AllowedValue(value="low",description="Low"),@AllowedValue(value="high",description="High")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'user-interaction\']/@value",values={@AllowedValue(value="none",description="None"),@AllowedValue(value="required",description="Required")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'scope\']/@value",values={@AllowedValue(value="unchanged",description="Unchanged"),@AllowedValue(value="changed",description="Changed")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'exploit-code-maturity\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="unproven",description="Unproven"),@AllowedValue(value="proof-of-concept",description="Proof-of-Concept"),@AllowedValue(value="functional",description="Functional"),@AllowedValue(value="high",description="High")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'remediation-level\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="official-fix",description="Official Fix"),@AllowedValue(value="temporary-fix",description="Temporary Fix"),@AllowedValue(value="workaround",description="Workaround"),@AllowedValue(value="unavailable",description="Unavailable")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'report-confidence\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="unknown",description="Unknown"),@AllowedValue(value="reasonable",description="Reasonable"),@AllowedValue(value="confirmed",description="Confirmed")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=(\'confidentiality-requirement\', \'integrity-requirement\', \'availability-requirement\')]/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="low",description="Low"),@AllowedValue(value="medium",description="Medium"),@AllowedValue(value="high",description="High")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'modified-attack-vector\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="network",description="Network"),@AllowedValue(value="adjacent",description="Adjacent"),@AllowedValue(value="local",description="Local"),@AllowedValue(value="physical",description="Physical")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'modified-attack-complexity\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="high",description="High"),@AllowedValue(value="low",description="Low")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=(\'modified-privileges-required\', \'modified-confidentiality\', \'modified-integrity\', \'modified-availability\')]/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="none",description="None"),@AllowedValue(value="low",description="Low"),@AllowedValue(value="high",description="High")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'modified-user-interaction\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="none",description="None"),@AllowedValue(value="required",description="Required")}) @AllowedValues(level=ERROR,target="(.)[@system=(\'http://www.first.org/cvss/v3.0\', \'http://www.first.org/cvss/v3.1\') and @name=\'modified-scope\']/@value",values={@AllowedValue(value="not-defined",description="Not Defined"),@AllowedValue(value="unchanged",description="Unchanged"),@AllowedValue(value="changed",description="Changed")}) @AllowedValues(id="oscal-cvss-v4.0-vectors",level=ERROR,target="(.)[@system=(\'https://www.first.org/cvss/v4-0\')]/@name",values={@AllowedValue(value="av",description="Base: Attack Vector"),@AllowedValue(value="ac",description="Base: Attack Complexity"),@AllowedValue(value="at",description="Base: Attack Requirements"),@AllowedValue(value="pr",description="Base: Privileges Required"),@AllowedValue(value="ui",description="Base: User Interaction"),@AllowedValue(value="vc",description="Base: Vulnerable System Confidentiality Impact"),@AllowedValue(value="vi",description="Base: Vulnerable System Integrity Impact"),@AllowedValue(value="va",description="Base: Vulnerable System Availability Impact"),@AllowedValue(value="sc",description="Base: Subsequent System Confidentiality Impact"),@AllowedValue(value="si",description="Base: Vulnerable System Integrity Impact"),@AllowedValue(value="sa",description="Base: Vulnerable System Availability Impact"),@AllowedValue(value="s",description="Supplemental: Safety"),@AllowedValue(value="au",description="Supplemental: Automatable"),@AllowedValue(value="r",description="Supplemental: Recovery"),@AllowedValue(value="v",description="Supplemental: Value Density"),@AllowedValue(value="re",description="Supplemental: Vulnerability Response Effort"),@AllowedValue(value="u",description="Supplemental: Provider Urgency"),@AllowedValue(value="mav",description="Environmental: Modified Attack Vector"),@AllowedValue(value="mac",description="Environmental: Modified Attack Complexity"),@AllowedValue(value="mat",description="Environmental: Modified Attack Requirements"),@AllowedValue(value="mpr",description="Environmental: Modified Privileges Required"),@AllowedValue(value="mui",description="Environmental: Modified User Interaction"),@AllowedValue(value="mvc",description="Environmental: Modified Vulnerable System Confidentiality"),@AllowedValue(value="mvi",description="Environmental: Modified Vulnerable System Integrity"),@AllowedValue(value="mva",description="Environmental: Modified Vulnerable System Availability"),@AllowedValue(value="msc",description="Environmental: Subsequent Vulnerable System Confidentiality"),@AllowedValue(value="msi",description="Environmental: Subsequent Vulnerable System Integrity"),@AllowedValue(value="msa",description="Environmental: Subsequent Vulnerable System Availability"),@AllowedValue(value="cr",description="Environmental: Confidentiality Requirements"),@AllowedValue(value="ir",description="Environmental: Integrity Requirements"),@AllowedValue(value="ar",description="Environmental: Availability Requirements"),@AllowedValue(value="e",description="Threat: Exploit Maturity")}) @AllowedValues(id="oscal-cvss-v4.0-av-values",formalName="Attack Vector Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'av\']/@value",values={@AllowedValue(value="n",description="Network"),@AllowedValue(value="a",description="Adjacent"),@AllowedValue(value="l",description="Local"),@AllowedValue(value="p",description="Physical")}) @AllowedValues(id="oscal-cvss-v4.0-ac-values",formalName="Attack Complexity Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'ac\']/@value",values={@AllowedValue(value="h",description="High"),@AllowedValue(value="l",description="Low")}) @AllowedValues(id="oscal-cvss-v4.0-at-values",formalName="Attack Requirements Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'at\']/@value",values={@AllowedValue(value="n",description="None"),@AllowedValue(value="p",description="Present")}) @AllowedValues(id="oscal-cvss-v4.0-pr-cia-values",formalName="Privileges Required, Confidentiality, Integrity, and Availability Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=(\'pr\',\'vc\',\'vi\',\'va\',\'sc\',\'si\',\'sa\')]/@value",values={@AllowedValue(value="n",description="None"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="h",description="High")}) @AllowedValues(id="oscal-cvss-v4.0-ui-values",formalName="User Interaction Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'ui\']/@value",values={@AllowedValue(value="n",description="None"),@AllowedValue(value="p",description="Passive"),@AllowedValue(value="a",description="Active")}) @AllowedValues(id="oscal-cvss-v4.0-s-values",formalName="Safety Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'s\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="Negligible"),@AllowedValue(value="p",description="Present")}) @AllowedValues(id="oscal-cvss-v4.0-au-values",formalName="Automatable Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'au\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="No"),@AllowedValue(value="y",description="Yes")}) @AllowedValues(id="oscal-cvss-v4.0-r-values",formalName="Recovery Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'r\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="a",description="Automatic"),@AllowedValue(value="u",description="User"),@AllowedValue(value="i",description="Irrecoverable")}) @AllowedValues(id="oscal-cvss-v4.0-v-values",formalName="Value Density Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'v\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="a",description="Automatic"),@AllowedValue(value="u",description="User"),@AllowedValue(value="i",description="Irrecoverable")}) @AllowedValues(id="oscal-cvss-v4.0-re-values",formalName="Vulnerability Response Effort Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'re\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="m",description="Moderate"),@AllowedValue(value="h",description="High")}) @AllowedValues(id="oscal-cvss-v4.0-u-values",formalName="Provider Urgency Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'u\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="clear",description="Clear"),@AllowedValue(value="green",description="Green"),@AllowedValue(value="amber",description="Amber"),@AllowedValue(value="red",description="Red")}) @AllowedValues(id="oscal-cvss-v4.0-mav-values",formalName="Modified Attack Vector Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'mav\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="Network"),@AllowedValue(value="a",description="Adjacent"),@AllowedValue(value="l",description="Local"),@AllowedValue(value="p",description="Physical")}) @AllowedValues(id="oscal-cvss-v4.0-mac-values",formalName="Modified Attack Complexity Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'mac\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="h",description="High"),@AllowedValue(value="l",description="Low")}) @AllowedValues(id="oscal-cvss-v4.0-mat-values",formalName="Modified Attack Requirements Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'mat\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="None"),@AllowedValue(value="p",description="Present")}) @AllowedValues(id="oscal-cvss-v4.0-mpr-mvs-cia-values",formalName="Modified Privileges Required, and Vulnerable System Confidentiality, Integrity, and Availability Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=(\'mpr\',\'mvc\',\'mvi\')]/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="None"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="h",description="High")}) @AllowedValues(id="oscal-cvss-v4.0-mui-values",formalName="Modified User Interaction Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'mui\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="None"),@AllowedValue(value="p",description="Passive"),@AllowedValue(value="a",description="Active")}) @AllowedValues(id="oscal-cvss-v4.0-msc-values",formalName="Modified Subsequent System Confidentiality Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'msc\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="Negligible"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="h",description="High")}) @AllowedValues(id="oscal-cvss-v4.0-msi-msa-cia-values",formalName="Modified Safety-Related Subsequent System Integrity and Availability Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=(\'msi\',\'msa\')]/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="n",description="Negligible"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="h",description="High"),@AllowedValue(value="s",description="Safety")}) @AllowedValues(id="oscal-cvss-v4.0-env-cia-values",formalName="Vulnerability Response Effort Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=(\'cr\',\'ir\',\'ar\')]/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="l",description="Low"),@AllowedValue(value="m",description="Medium"),@AllowedValue(value="h",description="High")}) @AllowedValues(id="oscal-cvss-v4.0-e-values",formalName="Vulnerability Response Effort Values",level=ERROR,target=".[@system=\'https://www.first.org/cvss/v4-0\' and @name=\'e\']/@value",values={@AllowedValue(value="x",description="Not Defined"),@AllowedValue(value="a",description="Attacked"),@AllowedValue(value="p",description="PoC"),@AllowedValue(value="u",description="Unreported")}))
public static class Characterization.Facet
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
An individual characteristic that is part of a larger set produced by the same actor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getName()
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getValue()
boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
void
toString()
-
Constructor Details
-
Facet
public Facet() -
Facet
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getName
-
setName
-
getSystem
-
setSystem
-
getValue
-
setValue
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-