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
Modifier and TypeClassDescriptionstatic class
Identifies an individual risk response that this log entry is for. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newLink
item to the underlying collection.boolean
addLoggedBy
(LoggedBy item) Add a newLoggedBy
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
Add a newRisk.RiskLog.Entry.RelatedResponse
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getEnd()
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getStart()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
getTitle()
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
Remove the first matchingRisk.RiskLog.Entry.RelatedResponse
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setEnd
(ZonedDateTime value) void
void
setLoggedBy
(List<LoggedBy> value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setStart
(ZonedDateTime value) void
setStatusChange
(String value) void
setTitle
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value) void
toString()
-
Constructor Details
-
Entry
public Entry() -
Entry
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getStart
-
setStart
-
getEnd
-
setEnd
-
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
-
getLoggedBy
-
setLoggedBy
-
addLoggedBy
Add a newLoggedBy
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLoggedBy
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
-
setStatusChange
-
getRelatedResponses
-
setRelatedResponses
-
addRelatedResponse
Add a newRisk.RiskLog.Entry.RelatedResponse
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRelatedResponse
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
-
setRemarks
-
toString
-