@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSecurityFinding extends Object implements Serializable, Cloneable, StructuredPojo
Provides consistent format for the contents of the Security Hub-aggregated findings. AwsSecurityFinding
format enables you to share findings between AWS security services and third-party solutions, and compliance checks.
A finding is a potential security issue generated either by AWS services (Amazon GuardDuty, Amazon Inspector, and Amazon Macie) or by the integrated third-party solutions and compliance checks.
Constructor and Description |
---|
AwsSecurityFinding() |
Modifier and Type | Method and Description |
---|---|
AwsSecurityFinding |
addProductFieldsEntry(String key,
String value) |
AwsSecurityFinding |
addUserDefinedFieldsEntry(String key,
String value) |
AwsSecurityFinding |
clearProductFieldsEntries()
Removes all the entries added into ProductFields.
|
AwsSecurityFinding |
clearUserDefinedFieldsEntries()
Removes all the entries added into UserDefinedFields.
|
AwsSecurityFinding |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The AWS account ID that a finding is generated in.
|
Compliance |
getCompliance()
This data type is exclusive to findings that are generated as the result of a check run against a specific rule
in a supported standard (for example, CIS AWS Foundations).
|
Integer |
getConfidence()
A finding's confidence.
|
String |
getCreatedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security
issue that a finding captured.
|
Integer |
getCriticality()
The level of importance assigned to the resources associated with the finding.
|
String |
getDescription()
A finding's description.
|
String |
getFirstObservedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential
security issue that a finding captured.
|
String |
getGeneratorId()
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding.
|
String |
getId()
The security findings provider-specific identifier for a finding.
|
String |
getLastObservedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the
potential security issue that a finding captured.
|
List<Malware> |
getMalware()
A list of malware related to a finding.
|
Network |
getNetwork()
The details of network-related information about a finding.
|
Note |
getNote()
A user-defined note added to a finding.
|
ProcessDetails |
getProcess()
The details of process-related information about a finding.
|
String |
getProductArn()
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider)
after this provider's product (solution that generates findings) is registered with Security Hub.
|
Map<String,String> |
getProductFields()
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined
AwsSecurityFinding format. |
String |
getRecordState()
The record state of a finding.
|
List<RelatedFinding> |
getRelatedFindings()
A list of related findings.
|
Remediation |
getRemediation()
A data type that describes the remediation options for a finding.
|
List<Resource> |
getResources()
A set of resource data types that describe the resources that the finding refers to.
|
String |
getSchemaVersion()
The schema version that a finding is formatted for.
|
Severity |
getSeverity()
A finding's severity.
|
String |
getSourceUrl()
A URL that links to a page about the current finding in the security-findings provider's solution.
|
List<ThreatIntelIndicator> |
getThreatIntelIndicators()
Threat intel details related to a finding.
|
String |
getTitle()
A finding's title.
|
List<String> |
getTypes()
One or more finding types in the format of
namespace/category/classifier that classify a finding. |
String |
getUpdatedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding
record.
|
Map<String,String> |
getUserDefinedFields()
A list of name/value string pairs associated with the finding.
|
String |
getVerificationState()
Indicates the veracity of a finding.
|
String |
getWorkflowState()
The workflow state of a finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountId(String awsAccountId)
The AWS account ID that a finding is generated in.
|
void |
setCompliance(Compliance compliance)
This data type is exclusive to findings that are generated as the result of a check run against a specific rule
in a supported standard (for example, CIS AWS Foundations).
|
void |
setConfidence(Integer confidence)
A finding's confidence.
|
void |
setCreatedAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security
issue that a finding captured.
|
void |
setCriticality(Integer criticality)
The level of importance assigned to the resources associated with the finding.
|
void |
setDescription(String description)
A finding's description.
|
void |
setFirstObservedAt(String firstObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential
security issue that a finding captured.
|
void |
setGeneratorId(String generatorId)
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding.
|
void |
setId(String id)
The security findings provider-specific identifier for a finding.
|
void |
setLastObservedAt(String lastObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the
potential security issue that a finding captured.
|
void |
setMalware(Collection<Malware> malware)
A list of malware related to a finding.
|
void |
setNetwork(Network network)
The details of network-related information about a finding.
|
void |
setNote(Note note)
A user-defined note added to a finding.
|
void |
setProcess(ProcessDetails process)
The details of process-related information about a finding.
|
void |
setProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider)
after this provider's product (solution that generates findings) is registered with Security Hub.
|
void |
setProductFields(Map<String,String> productFields)
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined
AwsSecurityFinding format. |
void |
setRecordState(String recordState)
The record state of a finding.
|
void |
setRelatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
|
void |
setRemediation(Remediation remediation)
A data type that describes the remediation options for a finding.
|
void |
setResources(Collection<Resource> resources)
A set of resource data types that describe the resources that the finding refers to.
|
void |
setSchemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
|
void |
setSeverity(Severity severity)
A finding's severity.
|
void |
setSourceUrl(String sourceUrl)
A URL that links to a page about the current finding in the security-findings provider's solution.
|
void |
setThreatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intel details related to a finding.
|
void |
setTitle(String title)
A finding's title.
|
void |
setTypes(Collection<String> types)
One or more finding types in the format of
namespace/category/classifier that classify a finding. |
void |
setUpdatedAt(String updatedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding
record.
|
void |
setUserDefinedFields(Map<String,String> userDefinedFields)
A list of name/value string pairs associated with the finding.
|
void |
setVerificationState(String verificationState)
Indicates the veracity of a finding.
|
void |
setWorkflowState(String workflowState)
The workflow state of a finding.
|
String |
toString()
Returns a string representation of this object.
|
AwsSecurityFinding |
withAwsAccountId(String awsAccountId)
The AWS account ID that a finding is generated in.
|
AwsSecurityFinding |
withCompliance(Compliance compliance)
This data type is exclusive to findings that are generated as the result of a check run against a specific rule
in a supported standard (for example, CIS AWS Foundations).
|
AwsSecurityFinding |
withConfidence(Integer confidence)
A finding's confidence.
|
AwsSecurityFinding |
withCreatedAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security
issue that a finding captured.
|
AwsSecurityFinding |
withCriticality(Integer criticality)
The level of importance assigned to the resources associated with the finding.
|
AwsSecurityFinding |
withDescription(String description)
A finding's description.
|
AwsSecurityFinding |
withFirstObservedAt(String firstObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential
security issue that a finding captured.
|
AwsSecurityFinding |
withGeneratorId(String generatorId)
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding.
|
AwsSecurityFinding |
withId(String id)
The security findings provider-specific identifier for a finding.
|
AwsSecurityFinding |
withLastObservedAt(String lastObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the
potential security issue that a finding captured.
|
AwsSecurityFinding |
withMalware(Collection<Malware> malware)
A list of malware related to a finding.
|
AwsSecurityFinding |
withMalware(Malware... malware)
A list of malware related to a finding.
|
AwsSecurityFinding |
withNetwork(Network network)
The details of network-related information about a finding.
|
AwsSecurityFinding |
withNote(Note note)
A user-defined note added to a finding.
|
AwsSecurityFinding |
withProcess(ProcessDetails process)
The details of process-related information about a finding.
|
AwsSecurityFinding |
withProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider)
after this provider's product (solution that generates findings) is registered with Security Hub.
|
AwsSecurityFinding |
withProductFields(Map<String,String> productFields)
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined
AwsSecurityFinding format. |
AwsSecurityFinding |
withRecordState(RecordState recordState)
The record state of a finding.
|
AwsSecurityFinding |
withRecordState(String recordState)
The record state of a finding.
|
AwsSecurityFinding |
withRelatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
|
AwsSecurityFinding |
withRelatedFindings(RelatedFinding... relatedFindings)
A list of related findings.
|
AwsSecurityFinding |
withRemediation(Remediation remediation)
A data type that describes the remediation options for a finding.
|
AwsSecurityFinding |
withResources(Collection<Resource> resources)
A set of resource data types that describe the resources that the finding refers to.
|
AwsSecurityFinding |
withResources(Resource... resources)
A set of resource data types that describe the resources that the finding refers to.
|
AwsSecurityFinding |
withSchemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
|
AwsSecurityFinding |
withSeverity(Severity severity)
A finding's severity.
|
AwsSecurityFinding |
withSourceUrl(String sourceUrl)
A URL that links to a page about the current finding in the security-findings provider's solution.
|
AwsSecurityFinding |
withThreatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intel details related to a finding.
|
AwsSecurityFinding |
withThreatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intel details related to a finding.
|
AwsSecurityFinding |
withTitle(String title)
A finding's title.
|
AwsSecurityFinding |
withTypes(Collection<String> types)
One or more finding types in the format of
namespace/category/classifier that classify a finding. |
AwsSecurityFinding |
withTypes(String... types)
One or more finding types in the format of
namespace/category/classifier that classify a finding. |
AwsSecurityFinding |
withUpdatedAt(String updatedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding
record.
|
AwsSecurityFinding |
withUserDefinedFields(Map<String,String> userDefinedFields)
A list of name/value string pairs associated with the finding.
|
AwsSecurityFinding |
withVerificationState(String verificationState)
Indicates the veracity of a finding.
|
AwsSecurityFinding |
withVerificationState(VerificationState verificationState)
Indicates the veracity of a finding.
|
AwsSecurityFinding |
withWorkflowState(String workflowState)
The workflow state of a finding.
|
AwsSecurityFinding |
withWorkflowState(WorkflowState workflowState)
The workflow state of a finding.
|
public void setSchemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
schemaVersion
- The schema version that a finding is formatted for.public String getSchemaVersion()
The schema version that a finding is formatted for.
public AwsSecurityFinding withSchemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
schemaVersion
- The schema version that a finding is formatted for.public void setId(String id)
The security findings provider-specific identifier for a finding.
id
- The security findings provider-specific identifier for a finding.public String getId()
The security findings provider-specific identifier for a finding.
public AwsSecurityFinding withId(String id)
The security findings provider-specific identifier for a finding.
id
- The security findings provider-specific identifier for a finding.public void setProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.
productArn
- The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings
provider) after this provider's product (solution that generates findings) is registered with Security
Hub.public String getProductArn()
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.
public AwsSecurityFinding withProductArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.
productArn
- The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings
provider) after this provider's product (solution that generates findings) is registered with Security
Hub.public void setGeneratorId(String generatorId)
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plug-in, etc.
generatorId
- The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In
various security-findings providers' solutions, this generator can be called a rule, a check, a detector,
a plug-in, etc.public String getGeneratorId()
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plug-in, etc.
public AwsSecurityFinding withGeneratorId(String generatorId)
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plug-in, etc.
generatorId
- The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In
various security-findings providers' solutions, this generator can be called a rule, a check, a detector,
a plug-in, etc.public void setAwsAccountId(String awsAccountId)
The AWS account ID that a finding is generated in.
awsAccountId
- The AWS account ID that a finding is generated in.public String getAwsAccountId()
The AWS account ID that a finding is generated in.
public AwsSecurityFinding withAwsAccountId(String awsAccountId)
The AWS account ID that a finding is generated in.
awsAccountId
- The AWS account ID that a finding is generated in.public List<String> getTypes()
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
namespace/category/classifier
that classify a
finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
public void setTypes(Collection<String> types)
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
types
- One or more finding types in the format of namespace/category/classifier
that classify a
finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
public AwsSecurityFinding withTypes(String... types)
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection)
or withTypes(java.util.Collection)
if you want to override the
existing values.
types
- One or more finding types in the format of namespace/category/classifier
that classify a
finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
public AwsSecurityFinding withTypes(Collection<String> types)
One or more finding types in the format of namespace/category/classifier
that classify a finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
types
- One or more finding types in the format of namespace/category/classifier
that classify a
finding.
Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications
public void setFirstObservedAt(String firstObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured.
firstObservedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the
potential security issue that a finding captured.public String getFirstObservedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured.
public AwsSecurityFinding withFirstObservedAt(String firstObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured.
firstObservedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the
potential security issue that a finding captured.public void setLastObservedAt(String lastObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
lastObservedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed
the potential security issue that a finding captured.public String getLastObservedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
public AwsSecurityFinding withLastObservedAt(String lastObservedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
lastObservedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed
the potential security issue that a finding captured.public void setCreatedAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security issue that a finding captured.
createdAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential
security issue that a finding captured.public String getCreatedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security issue that a finding captured.
public AwsSecurityFinding withCreatedAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security issue that a finding captured.
createdAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential
security issue that a finding captured.public void setUpdatedAt(String updatedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record.
updatedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding
record.public String getUpdatedAt()
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record.
public AwsSecurityFinding withUpdatedAt(String updatedAt)
An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record.
updatedAt
- An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding
record.public void setSeverity(Severity severity)
A finding's severity.
severity
- A finding's severity.public Severity getSeverity()
A finding's severity.
public AwsSecurityFinding withSeverity(Severity severity)
A finding's severity.
severity
- A finding's severity.public void setConfidence(Integer confidence)
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
confidence
- A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the
behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio
scale, where 0 means zero percent confidence and 100 means 100 percent confidence.public Integer getConfidence()
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
public AwsSecurityFinding withConfidence(Integer confidence)
A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
confidence
- A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the
behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio
scale, where 0 means zero percent confidence and 100 means 100 percent confidence.public void setCriticality(Integer criticality)
The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
criticality
- The level of importance assigned to the resources associated with the finding. A score of 0 means that the
underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.public Integer getCriticality()
The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
public AwsSecurityFinding withCriticality(Integer criticality)
The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
criticality
- The level of importance assigned to the resources associated with the finding. A score of 0 means that the
underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.public void setTitle(String title)
A finding's title.
In this release, Title
is a required property.
title
- A finding's title.
In this release, Title
is a required property.
public String getTitle()
A finding's title.
In this release, Title
is a required property.
In this release, Title
is a required property.
public AwsSecurityFinding withTitle(String title)
A finding's title.
In this release, Title
is a required property.
title
- A finding's title.
In this release, Title
is a required property.
public void setDescription(String description)
A finding's description.
In this release, Description
is a required property.
description
- A finding's description.
In this release, Description
is a required property.
public String getDescription()
A finding's description.
In this release, Description
is a required property.
In this release, Description
is a required property.
public AwsSecurityFinding withDescription(String description)
A finding's description.
In this release, Description
is a required property.
description
- A finding's description.
In this release, Description
is a required property.
public void setRemediation(Remediation remediation)
A data type that describes the remediation options for a finding.
remediation
- A data type that describes the remediation options for a finding.public Remediation getRemediation()
A data type that describes the remediation options for a finding.
public AwsSecurityFinding withRemediation(Remediation remediation)
A data type that describes the remediation options for a finding.
remediation
- A data type that describes the remediation options for a finding.public void setSourceUrl(String sourceUrl)
A URL that links to a page about the current finding in the security-findings provider's solution.
sourceUrl
- A URL that links to a page about the current finding in the security-findings provider's solution.public String getSourceUrl()
A URL that links to a page about the current finding in the security-findings provider's solution.
public AwsSecurityFinding withSourceUrl(String sourceUrl)
A URL that links to a page about the current finding in the security-findings provider's solution.
sourceUrl
- A URL that links to a page about the current finding in the security-findings provider's solution.public Map<String,String> getProductFields()
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined AwsSecurityFinding
format.
AwsSecurityFinding
format.public void setProductFields(Map<String,String> productFields)
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined AwsSecurityFinding
format.
productFields
- A data type where security-findings providers can include additional solution-specific details that aren't
part of the defined AwsSecurityFinding
format.public AwsSecurityFinding withProductFields(Map<String,String> productFields)
A data type where security-findings providers can include additional solution-specific details that aren't part
of the defined AwsSecurityFinding
format.
productFields
- A data type where security-findings providers can include additional solution-specific details that aren't
part of the defined AwsSecurityFinding
format.public AwsSecurityFinding addProductFieldsEntry(String key, String value)
public AwsSecurityFinding clearProductFieldsEntries()
public Map<String,String> getUserDefinedFields()
A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.
public void setUserDefinedFields(Map<String,String> userDefinedFields)
A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.
userDefinedFields
- A list of name/value string pairs associated with the finding. These are custom, user-defined fields added
to a finding.public AwsSecurityFinding withUserDefinedFields(Map<String,String> userDefinedFields)
A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.
userDefinedFields
- A list of name/value string pairs associated with the finding. These are custom, user-defined fields added
to a finding.public AwsSecurityFinding addUserDefinedFieldsEntry(String key, String value)
public AwsSecurityFinding clearUserDefinedFieldsEntries()
public List<Malware> getMalware()
A list of malware related to a finding.
public void setMalware(Collection<Malware> malware)
A list of malware related to a finding.
malware
- A list of malware related to a finding.public AwsSecurityFinding withMalware(Malware... malware)
A list of malware related to a finding.
NOTE: This method appends the values to the existing list (if any). Use
setMalware(java.util.Collection)
or withMalware(java.util.Collection)
if you want to override
the existing values.
malware
- A list of malware related to a finding.public AwsSecurityFinding withMalware(Collection<Malware> malware)
A list of malware related to a finding.
malware
- A list of malware related to a finding.public void setNetwork(Network network)
The details of network-related information about a finding.
network
- The details of network-related information about a finding.public Network getNetwork()
The details of network-related information about a finding.
public AwsSecurityFinding withNetwork(Network network)
The details of network-related information about a finding.
network
- The details of network-related information about a finding.public void setProcess(ProcessDetails process)
The details of process-related information about a finding.
process
- The details of process-related information about a finding.public ProcessDetails getProcess()
The details of process-related information about a finding.
public AwsSecurityFinding withProcess(ProcessDetails process)
The details of process-related information about a finding.
process
- The details of process-related information about a finding.public List<ThreatIntelIndicator> getThreatIntelIndicators()
Threat intel details related to a finding.
public void setThreatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intel details related to a finding.
threatIntelIndicators
- Threat intel details related to a finding.public AwsSecurityFinding withThreatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intel details related to a finding.
NOTE: This method appends the values to the existing list (if any). Use
setThreatIntelIndicators(java.util.Collection)
or
withThreatIntelIndicators(java.util.Collection)
if you want to override the existing values.
threatIntelIndicators
- Threat intel details related to a finding.public AwsSecurityFinding withThreatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intel details related to a finding.
threatIntelIndicators
- Threat intel details related to a finding.public List<Resource> getResources()
A set of resource data types that describe the resources that the finding refers to.
public void setResources(Collection<Resource> resources)
A set of resource data types that describe the resources that the finding refers to.
resources
- A set of resource data types that describe the resources that the finding refers to.public AwsSecurityFinding withResources(Resource... resources)
A set of resource data types that describe the resources that the finding refers to.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A set of resource data types that describe the resources that the finding refers to.public AwsSecurityFinding withResources(Collection<Resource> resources)
A set of resource data types that describe the resources that the finding refers to.
resources
- A set of resource data types that describe the resources that the finding refers to.public void setCompliance(Compliance compliance)
This data type is exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details.
compliance
- This data type is exclusive to findings that are generated as the result of a check run against a specific
rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding
details.public Compliance getCompliance()
This data type is exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details.
public AwsSecurityFinding withCompliance(Compliance compliance)
This data type is exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details.
compliance
- This data type is exclusive to findings that are generated as the result of a check run against a specific
rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding
details.public void setVerificationState(String verificationState)
Indicates the veracity of a finding.
verificationState
- Indicates the veracity of a finding.VerificationState
public String getVerificationState()
Indicates the veracity of a finding.
VerificationState
public AwsSecurityFinding withVerificationState(String verificationState)
Indicates the veracity of a finding.
verificationState
- Indicates the veracity of a finding.VerificationState
public AwsSecurityFinding withVerificationState(VerificationState verificationState)
Indicates the veracity of a finding.
verificationState
- Indicates the veracity of a finding.VerificationState
public void setWorkflowState(String workflowState)
The workflow state of a finding.
workflowState
- The workflow state of a finding.WorkflowState
public String getWorkflowState()
The workflow state of a finding.
WorkflowState
public AwsSecurityFinding withWorkflowState(String workflowState)
The workflow state of a finding.
workflowState
- The workflow state of a finding.WorkflowState
public AwsSecurityFinding withWorkflowState(WorkflowState workflowState)
The workflow state of a finding.
workflowState
- The workflow state of a finding.WorkflowState
public void setRecordState(String recordState)
The record state of a finding.
recordState
- The record state of a finding.RecordState
public String getRecordState()
The record state of a finding.
RecordState
public AwsSecurityFinding withRecordState(String recordState)
The record state of a finding.
recordState
- The record state of a finding.RecordState
public AwsSecurityFinding withRecordState(RecordState recordState)
The record state of a finding.
recordState
- The record state of a finding.RecordState
public List<RelatedFinding> getRelatedFindings()
A list of related findings.
public void setRelatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
relatedFindings
- A list of related findings.public AwsSecurityFinding withRelatedFindings(RelatedFinding... relatedFindings)
A list of related findings.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedFindings(java.util.Collection)
or withRelatedFindings(java.util.Collection)
if you
want to override the existing values.
relatedFindings
- A list of related findings.public AwsSecurityFinding withRelatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
relatedFindings
- A list of related findings.public void setNote(Note note)
A user-defined note added to a finding.
note
- A user-defined note added to a finding.public Note getNote()
A user-defined note added to a finding.
public AwsSecurityFinding withNote(Note note)
A user-defined note added to a finding.
note
- A user-defined note added to a finding.public String toString()
toString
in class Object
Object.toString()
public AwsSecurityFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.