Package gov.nist.secauto.oscal.lib.model
Class Risk.RiskLog.Entry
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Risk.RiskLog.Entry
-
- 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", metaschema=OscalAssessmentCommonMetaschema.class) @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 ObjectIdentifies an individual risk response that occurred as part of managing an identified risk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRisk.RiskLog.Entry.RelatedResponseIdentifies an individual risk response that this log entry is for.
-
Constructor Summary
Constructors Constructor Description Entry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddLoggedBy(LoggedBy item)Add a newLoggedByitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)Add a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()ZonedDateTimegetEnd()List<Link>getLinks()List<LoggedBy>getLoggedBy()List<Property>getProps()List<Risk.RiskLog.Entry.RelatedResponse>getRelatedResponses()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()ZonedDateTimegetStart()StringgetStatusChange()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetTitle()UUIDgetUuid()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.booleanremoveRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)Remove the first matchingRisk.RiskLog.Entry.RelatedResponseitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetEnd(ZonedDateTime value)voidsetLinks(List<Link> value)voidsetLoggedBy(List<LoggedBy> value)voidsetProps(List<Property> value)voidsetRelatedResponses(List<Risk.RiskLog.Entry.RelatedResponse> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetStart(ZonedDateTime value)voidsetStatusChange(String value)voidsetTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)voidsetUuid(UUID value)StringtoString()
-
-
-
Constructor Detail
-
Entry
public Entry()
-
-
Method Detail
-
getTitle
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getTitle()
-
setTitle
public void setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getStart
public ZonedDateTime getStart()
-
setStart
public void setStart(ZonedDateTime value)
-
getEnd
public ZonedDateTime getEnd()
-
setEnd
public void setEnd(ZonedDateTime value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLoggedBy
public List<LoggedBy> getLoggedBy()
-
setLoggedBy
public void setLoggedBy(List<LoggedBy> value)
-
addLoggedBy
public boolean addLoggedBy(LoggedBy item)
Add a newLoggedByitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLoggedBy
public boolean removeLoggedBy(LoggedBy item)
Remove the first matchingLoggedByitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getStatusChange
public String getStatusChange()
-
setStatusChange
public void setStatusChange(String value)
-
getRelatedResponses
public List<Risk.RiskLog.Entry.RelatedResponse> getRelatedResponses()
-
setRelatedResponses
public void setRelatedResponses(List<Risk.RiskLog.Entry.RelatedResponse> value)
-
addRelatedResponse
public boolean addRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)
Add a newRisk.RiskLog.Entry.RelatedResponseitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedResponse
public boolean removeRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)
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
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-