Package gov.nist.secauto.oscal.lib.model
Class Risk.RiskLog.Entry
java.lang.Object
gov.nist.secauto.oscal.lib.model.Risk.RiskLog.Entry
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Risk.RiskLog
@MetaschemaAssembly(formalName="Risk Log Entry",
description="Identifies an individual risk response that occurred as part of managing an identified risk.",
name="entry",
moduleClass=OscalAssessmentCommonModule.class,
valueConstraints=@AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\')]/@name",values=@AllowedValue(value="type",description="The type of remediation tracking entry. Can be multi-valued.")) @AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'type\']/@value",allowOthers=true,values={@AllowedValue(value="vendor-check-in",description="Contacted vendor to determine the status of a pending fix to a known vulnerability."),@AllowedValue(value="status-update",description="Information related to the current state of response to this risk."),@AllowedValue(value="milestone-complete",description="A significant step in the response plan has been achieved."),@AllowedValue(value="mitigation",description="An activity was completed that reduces the likelihood or impact of this risk."),@AllowedValue(value="remediated",description="An activity was completed that eliminates the likelihood or impact of this risk."),@AllowedValue(value="closed",description="The risk is no longer applicable to the system."),@AllowedValue(value="dr-submission",description="A deviation request was made to the authorizing official."),@AllowedValue(value="dr-updated",description="A previously submitted deviation request has been modified."),@AllowedValue(value="dr-approved",description="The authorizing official approved the deviation."),@AllowedValue(value="dr-rejected",description="The authorizing official rejected the deviation.")}))
public static class Risk.RiskLog.Entry
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies an individual risk response that occurred as part of managing an identified risk.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies an individual risk response that this log entry is for. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanaddLoggedBy(LoggedBy item) Add a newLoggedByitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetEnd()getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetStart()gov.nist.secauto.metaschema.core.datatype.markup.MarkupLinegetTitle()getUuid()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveLoggedBy(LoggedBy item) Remove the first matchingLoggedByitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingRisk.RiskLog.Entry.RelatedResponseitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetEnd(ZonedDateTime value) voidvoidsetLoggedBy(List<LoggedBy> value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetStart(ZonedDateTime value) voidsetStatusChange(String value) voidsetTitle(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) voidtoString()
-
Constructor Details
-
Entry
public Entry() -
Entry
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getStart
-
setStart
-
getEnd
-
setEnd
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLoggedBy
-
setLoggedBy
-
addLoggedBy
Add a newLoggedByitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLoggedBy
Remove the first matchingLoggedByitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getStatusChange
-
setStatusChange
-
getRelatedResponses
-
setRelatedResponses
-
addRelatedResponse
Add a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedResponse
Remove the first matchingRisk.RiskLog.Entry.RelatedResponseitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-