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 Object
Identifies an individual risk response that occurred as part of managing an identified risk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Risk.RiskLog.Entry.RelatedResponse
Identifies 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 boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addLoggedBy(LoggedBy item)
Add a newLoggedBy
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)
Add a newRisk.RiskLog.Entry.RelatedResponse
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
ZonedDateTime
getEnd()
List<Link>
getLinks()
List<LoggedBy>
getLoggedBy()
List<Property>
getProps()
List<Risk.RiskLog.Entry.RelatedResponse>
getRelatedResponses()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
ZonedDateTime
getStart()
String
getStatusChange()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine
getTitle()
UUID
getUuid()
boolean
removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.boolean
removeLoggedBy(LoggedBy item)
Remove the first matchingLoggedBy
item from the underlying collection.boolean
removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.boolean
removeRelatedResponse(Risk.RiskLog.Entry.RelatedResponse item)
Remove the first matchingRisk.RiskLog.Entry.RelatedResponse
item from the underlying collection.void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setEnd(ZonedDateTime value)
void
setLinks(List<Link> value)
void
setLoggedBy(List<LoggedBy> value)
void
setProps(List<Property> value)
void
setRelatedResponses(List<Risk.RiskLog.Entry.RelatedResponse> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setStart(ZonedDateTime value)
void
setStatusChange(String value)
void
setTitle(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
void
setUuid(UUID value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLoggedBy
public List<LoggedBy> getLoggedBy()
-
setLoggedBy
public void setLoggedBy(List<LoggedBy> value)
-
addLoggedBy
public boolean addLoggedBy(LoggedBy item)
Add a newLoggedBy
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLoggedBy
public boolean removeLoggedBy(LoggedBy item)
Remove the first matchingLoggedBy
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
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.RelatedResponse
item 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.RelatedResponse
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
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)
-
-