@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Compliance extends Object implements Serializable, Cloneable, StructuredPojo
Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.
Constructor and Description |
---|
Compliance() |
Modifier and Type | Method and Description |
---|---|
Compliance |
clone() |
boolean |
equals(Object obj) |
List<AssociatedStandard> |
getAssociatedStandards()
The enabled security standards in which a security control is currently enabled.
|
List<String> |
getRelatedRequirements()
For a control, the industry or regulatory framework requirements that are related to the control.
|
String |
getSecurityControlId()
The unique identifier of a control across standards.
|
List<SecurityControlParameter> |
getSecurityControlParameters()
An object that includes security control parameter names and values.
|
String |
getStatus()
The result of a standards check.
|
List<StatusReason> |
getStatusReasons()
For findings generated from controls, a list of reasons behind the value of
Status . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedStandards(Collection<AssociatedStandard> associatedStandards)
The enabled security standards in which a security control is currently enabled.
|
void |
setRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
void |
setSecurityControlId(String securityControlId)
The unique identifier of a control across standards.
|
void |
setSecurityControlParameters(Collection<SecurityControlParameter> securityControlParameters)
An object that includes security control parameter names and values.
|
void |
setStatus(String status)
The result of a standards check.
|
void |
setStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status . |
String |
toString()
Returns a string representation of this object.
|
Compliance |
withAssociatedStandards(AssociatedStandard... associatedStandards)
The enabled security standards in which a security control is currently enabled.
|
Compliance |
withAssociatedStandards(Collection<AssociatedStandard> associatedStandards)
The enabled security standards in which a security control is currently enabled.
|
Compliance |
withRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance |
withRelatedRequirements(String... relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control.
|
Compliance |
withSecurityControlId(String securityControlId)
The unique identifier of a control across standards.
|
Compliance |
withSecurityControlParameters(Collection<SecurityControlParameter> securityControlParameters)
An object that includes security control parameter names and values.
|
Compliance |
withSecurityControlParameters(SecurityControlParameter... securityControlParameters)
An object that includes security control parameter names and values.
|
Compliance |
withStatus(ComplianceStatus status)
The result of a standards check.
|
Compliance |
withStatus(String status)
The result of a standards check.
|
Compliance |
withStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status . |
Compliance |
withStatusReasons(StatusReason... statusReasons)
For findings generated from controls, a list of reasons behind the value of
Status . |
public void setStatus(String status)
The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding after 3
days.
status
- The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding
after 3 days.
ComplianceStatus
public String getStatus()
The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding after 3
days.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding
after 3 days.
ComplianceStatus
public Compliance withStatus(String status)
The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding after 3
days.
status
- The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding
after 3 days.
ComplianceStatus
public Compliance withStatus(ComplianceStatus status)
The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the
result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding after 3
days.
status
- The result of a standards check.
The valid values for Status
are as follows.
PASSED
- Standards check passed for all evaluated resources.
WARNING
- Some information is missing or this check is not supported for your configuration.
FAILED
- Standards check failed for at least one evaluated resource.
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because
the result of the Config evaluation was NOT_APPLICABLE
. If the Config evaluation result was
NOT_APPLICABLE
for a Security Hub control, Security Hub automatically archives the finding
after 3 days.
ComplianceStatus
public List<String> getRelatedRequirements()
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
Array Members: Maximum number of 32 items.
public void setRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
relatedRequirements
- For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
public Compliance withRelatedRequirements(String... relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedRequirements(java.util.Collection)
or withRelatedRequirements(java.util.Collection)
if you want to override the existing values.
relatedRequirements
- For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
public Compliance withRelatedRequirements(Collection<String> relatedRequirements)
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
relatedRequirements
- For a control, the industry or regulatory framework requirements that are related to the control. The
check for that control is aligned with these requirements.
Array Members: Maximum number of 32 items.
public List<StatusReason> getStatusReasons()
For findings generated from controls, a list of reasons behind the value of Status
. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
Status
. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public void setStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of Status
. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
statusReasons
- For findings generated from controls, a list of reasons behind the value of Status
. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public Compliance withStatusReasons(StatusReason... statusReasons)
For findings generated from controls, a list of reasons behind the value of Status
. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setStatusReasons(java.util.Collection)
or withStatusReasons(java.util.Collection)
if you want
to override the existing values.
statusReasons
- For findings generated from controls, a list of reasons behind the value of Status
. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public Compliance withStatusReasons(Collection<StatusReason> statusReasons)
For findings generated from controls, a list of reasons behind the value of Status
. For the list of
status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
statusReasons
- For findings generated from controls, a list of reasons behind the value of Status
. For the
list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.public void setSecurityControlId(String securityControlId)
The unique identifier of a control across standards. Values for this field typically consist of an Amazon Web Service and a number, such as APIGateway.5.
securityControlId
- The unique identifier of a control across standards. Values for this field typically consist of an Amazon
Web Service and a number, such as APIGateway.5.public String getSecurityControlId()
The unique identifier of a control across standards. Values for this field typically consist of an Amazon Web Service and a number, such as APIGateway.5.
public Compliance withSecurityControlId(String securityControlId)
The unique identifier of a control across standards. Values for this field typically consist of an Amazon Web Service and a number, such as APIGateway.5.
securityControlId
- The unique identifier of a control across standards. Values for this field typically consist of an Amazon
Web Service and a number, such as APIGateway.5.public List<AssociatedStandard> getAssociatedStandards()
The enabled security standards in which a security control is currently enabled.
public void setAssociatedStandards(Collection<AssociatedStandard> associatedStandards)
The enabled security standards in which a security control is currently enabled.
associatedStandards
- The enabled security standards in which a security control is currently enabled.public Compliance withAssociatedStandards(AssociatedStandard... associatedStandards)
The enabled security standards in which a security control is currently enabled.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedStandards(java.util.Collection)
or withAssociatedStandards(java.util.Collection)
if you want to override the existing values.
associatedStandards
- The enabled security standards in which a security control is currently enabled.public Compliance withAssociatedStandards(Collection<AssociatedStandard> associatedStandards)
The enabled security standards in which a security control is currently enabled.
associatedStandards
- The enabled security standards in which a security control is currently enabled.public List<SecurityControlParameter> getSecurityControlParameters()
An object that includes security control parameter names and values.
public void setSecurityControlParameters(Collection<SecurityControlParameter> securityControlParameters)
An object that includes security control parameter names and values.
securityControlParameters
- An object that includes security control parameter names and values.public Compliance withSecurityControlParameters(SecurityControlParameter... securityControlParameters)
An object that includes security control parameter names and values.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityControlParameters(java.util.Collection)
or
withSecurityControlParameters(java.util.Collection)
if you want to override the existing values.
securityControlParameters
- An object that includes security control parameter names and values.public Compliance withSecurityControlParameters(Collection<SecurityControlParameter> securityControlParameters)
An object that includes security control parameter names and values.
securityControlParameters
- An object that includes security control parameter names and values.public String toString()
toString
in class Object
Object.toString()
public Compliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.