/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides a consistent format for Security Hub findings. AwsSecurityFinding
format allows you to share
* findings between Amazon Web Services security services and third-party solutions.
*
* A finding is a potential security issue generated either by Amazon Web Services services or by the integrated * third-party solutions and standards checks. *
** The schema version that a finding is formatted for. *
*/ private String schemaVersion; /** ** The security findings provider-specific identifier for a finding. *
*/ private String id; /** ** The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN * for a third-party product that is integrated with Security Hub, or the ARN for a custom integration. *
*/ private String productArn; /** ** The name of the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. *
*/ private String productName; /** ** The name of the company for the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. *
*/ private String companyName; /** ** The Region from which the finding was generated. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*
* 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 * plugin, etc. *
*/ private String generatorId; /** ** The Amazon Web Services account ID that a finding is generated in. *
*/ private String awsAccountId; /** *
* 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 *
*/ private java.util.List* Indicates when the security findings provider first observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Indicates when the security findings provider most recently observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Indicates when the security findings provider created the potential security issue that a finding captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Indicates when the security findings provider last updated the finding record. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* A finding's severity. *
*/ private Severity severity; /** ** 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. *
*/ private Integer confidence; /** ** 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. *
*/ private Integer criticality; /** ** A finding's title. *
*
* In this release, Title
is a required property.
*
* A finding's description. *
*
* In this release, Description
is a required property.
*
* A data type that describes the remediation options for a finding. *
*/ private Remediation remediation; /** ** A URL that links to a page about the current finding in the security findings provider's solution. *
*/ private String sourceUrl; /** *
* A data type where security findings providers can include additional solution-specific details that aren't part
* of the defined AwsSecurityFinding
format.
*
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters, and the * value can contain up to 2048 characters. *
*/ private java.util.Map* A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a * finding. *
*/ private java.util.Map* A list of malware related to a finding. *
*/ private java.util.List* The details of network-related information about a finding. *
*/ private Network network; /** *
* Provides information about a network path that is relevant to a finding. Each entry under
* NetworkPath
represents a component of that path.
*
* The details of process-related information about a finding. *
*/ private ProcessDetails process; /** ** Details about the threat detected in a security finding and the file paths that were affected by the threat. *
*/ private java.util.List* Threat intelligence details related to a finding. *
*/ private java.util.List* A set of resource data types that describe the resources that the finding refers to. *
*/ private java.util.List* This data type is exclusive to findings that are generated as the result of a check run against a specific rule * in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related * finding details. *
*/ private Compliance compliance; /** ** Indicates the veracity of a finding. *
*/ private String verificationState; /** ** The workflow state of a finding. *
*/ private String workflowState; /** ** Provides information about the status of the investigation into a finding. *
*/ private Workflow workflow; /** ** The record state of a finding. *
*/ private String recordState; /** ** A list of related findings. *
*/ private java.util.List* A user-defined note added to a finding. *
*/ private Note note; /** ** Provides a list of vulnerabilities associated with the findings. *
*/ private java.util.List* Provides an overview of the patch compliance status for an instance against a selected compliance standard. *
*/ private PatchSummary patchSummary; /** ** Provides details about an action that affects or that was taken on a resource. *
*/ private Action action; /** *
* In a BatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
*
* Indicates whether the finding is a sample finding. *
*/ private Boolean sample; /** ** The schema version that a finding is formatted for. *
* * @param schemaVersion * The schema version that a finding is formatted for. */ public void setSchemaVersion(String schemaVersion) { this.schemaVersion = schemaVersion; } /** ** The schema version that a finding is formatted for. *
* * @return The schema version that a finding is formatted for. */ public String getSchemaVersion() { return this.schemaVersion; } /** ** The schema version that a finding is formatted for. *
* * @param schemaVersion * The schema version that a finding is formatted for. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withSchemaVersion(String schemaVersion) { setSchemaVersion(schemaVersion); return this; } /** ** The security findings provider-specific identifier for a finding. *
* * @param id * The security findings provider-specific identifier for a finding. */ public void setId(String id) { this.id = id; } /** ** The security findings provider-specific identifier for a finding. *
* * @return The security findings provider-specific identifier for a finding. */ public String getId() { return this.id; } /** ** The security findings provider-specific identifier for a finding. *
* * @param id * The security findings provider-specific identifier for a finding. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withId(String id) { setId(id); return this; } /** ** The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN * for a third-party product that is integrated with Security Hub, or the ARN for a custom integration. *
* * @param productArn * The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be * the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom * integration. */ public void setProductArn(String productArn) { this.productArn = productArn; } /** ** The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN * for a third-party product that is integrated with Security Hub, or the ARN for a custom integration. *
* * @return The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be * the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom * integration. */ public String getProductArn() { return this.productArn; } /** ** The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be the ARN * for a third-party product that is integrated with Security Hub, or the ARN for a custom integration. *
* * @param productArn * The ARN generated by Security Hub that uniquely identifies a product that generates findings. This can be * the ARN for a third-party product that is integrated with Security Hub, or the ARN for a custom * integration. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withProductArn(String productArn) { setProductArn(productArn); return this; } /** ** The name of the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. *
* * @param productName * The name of the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. */ public void setProductName(String productName) { this.productName = productName; } /** *
* The name of the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. *
* * @return The name of the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. */ public String getProductName() { return this.productName; } /** *
* The name of the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. *
* * @param productName * The name of the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by product name, you use this attribute. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withProductName(String productName) { setProductName(productName); return this; } /** *
* The name of the company for the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. *
* * @param companyName * The name of the company for the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. */ public void setCompanyName(String companyName) { this.companyName = companyName; } /** *
* The name of the company for the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. *
* * @return The name of the company for the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. */ public String getCompanyName() { return this.companyName; } /** *
* The name of the company for the product that generated the finding. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute with
* BatchImportFindings
or BatchUpdateFindings
. The exception to this is a custom
* integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. *
* * @param companyName * The name of the company for the product that generated the finding. *
* Security Hub populates this attribute automatically for each finding. You cannot update this attribute
* with BatchImportFindings
or BatchUpdateFindings
. The exception to this is a
* custom integration.
*
* When you use the Security Hub console or API to filter findings by company name, you use this attribute. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withCompanyName(String companyName) { setCompanyName(companyName); return this; } /** *
* The Region from which the finding was generated. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*/
public void setRegion(String region) {
this.region = region;
}
/**
*
* The Region from which the finding was generated. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*/
public String getRegion() {
return this.region;
}
/**
*
* The Region from which the finding was generated. *
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
*
* Security Hub populates this attribute automatically for each finding. You cannot update it using
* BatchImportFindings
or BatchUpdateFindings
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withRegion(String region) {
setRegion(region);
return this;
}
/**
*
* 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 * plugin, etc. *
* * @param 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 plugin, etc. */ public void setGeneratorId(String generatorId) { this.generatorId = 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 * plugin, etc. *
* * @return 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 plugin, etc. */ public String getGeneratorId() { return this.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 * plugin, etc. *
* * @param 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 plugin, etc. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withGeneratorId(String generatorId) { setGeneratorId(generatorId); return this; } /** ** The Amazon Web Services account ID that a finding is generated in. *
* * @param awsAccountId * The Amazon Web Services account ID that a finding is generated in. */ public void setAwsAccountId(String awsAccountId) { this.awsAccountId = awsAccountId; } /** ** The Amazon Web Services account ID that a finding is generated in. *
* * @return The Amazon Web Services account ID that a finding is generated in. */ public String getAwsAccountId() { return this.awsAccountId; } /** ** The Amazon Web Services account ID that a finding is generated in. *
* * @param awsAccountId * The Amazon Web Services account ID that a finding is generated in. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withAwsAccountId(String awsAccountId) { setAwsAccountId(awsAccountId); return this; } /** *
* 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 *
* * @return One or more finding types in the format ofnamespace/category/classifier
that classify a
* finding.
*
* Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors |
* Sensitive Data Identifications
*/
public java.util.List
* One or more finding types in the format of
* Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive
* Data Identifications
* namespace/category/classifier
that classify a finding.
* 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(java.util.Collection
* One or more finding types in the format of
* 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
* {@link #setTypes(java.util.Collection)} or {@link #withTypes(java.util.Collection)} if you want to override the
* existing values.
* namespace/category/classifier
that classify a finding.
* namespace/category/classifier
that classify a
* finding.
* Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors |
* Sensitive Data Identifications
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withTypes(String... types) {
if (this.types == null) {
setTypes(new java.util.ArrayList
* One or more finding types in the format of
* Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive
* Data Identifications
* namespace/category/classifier
that classify a finding.
* namespace/category/classifier
that classify a
* finding.
* Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors |
* Sensitive Data Identifications
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withTypes(java.util.Collection
* Indicates when the security findings provider first observed the potential security issue that a finding
* captured.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setFirstObservedAt(String firstObservedAt) {
this.firstObservedAt = firstObservedAt;
}
/**
*
* Indicates when the security findings provider first observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getFirstObservedAt() {
return this.firstObservedAt;
}
/**
*
* Indicates when the security findings provider first observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withFirstObservedAt(String firstObservedAt) {
setFirstObservedAt(firstObservedAt);
return this;
}
/**
*
* Indicates when the security findings provider most recently observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setLastObservedAt(String lastObservedAt) {
this.lastObservedAt = lastObservedAt;
}
/**
*
* Indicates when the security findings provider most recently observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getLastObservedAt() {
return this.lastObservedAt;
}
/**
*
* Indicates when the security findings provider most recently observed the potential security issue that a finding * captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withLastObservedAt(String lastObservedAt) {
setLastObservedAt(lastObservedAt);
return this;
}
/**
*
* Indicates when the security findings provider created the potential security issue that a finding captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
/**
*
* Indicates when the security findings provider created the potential security issue that a finding captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getCreatedAt() {
return this.createdAt;
}
/**
*
* Indicates when the security findings provider created the potential security issue that a finding captured. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withCreatedAt(String createdAt) {
setCreatedAt(createdAt);
return this;
}
/**
*
* Indicates when the security findings provider last updated the finding record. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
}
/**
*
* Indicates when the security findings provider last updated the finding record. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getUpdatedAt() {
return this.updatedAt;
}
/**
*
* Indicates when the security findings provider last updated the finding record. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withUpdatedAt(String updatedAt) {
setUpdatedAt(updatedAt);
return this;
}
/**
*
* A finding's severity. *
* * @param severity * A finding's severity. */ public void setSeverity(Severity severity) { this.severity = severity; } /** ** A finding's severity. *
* * @return A finding's severity. */ public Severity getSeverity() { return this.severity; } /** ** A finding's severity. *
* * @param severity * A finding's severity. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withSeverity(Severity severity) { setSeverity(severity); return this; } /** ** 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. *
* * @param 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 setConfidence(Integer confidence) { this.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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withConfidence(Integer confidence) { setConfidence(confidence); return this; } /** *
* 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. *
* * @param 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 setCriticality(Integer criticality) { this.criticality = 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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withCriticality(Integer criticality) { setCriticality(criticality); return this; } /** *
* A finding's title. *
*
* In this release, Title
is a required property.
*
* In this release, Title
is a required property.
*
* A finding's title. *
*
* In this release, Title
is a required property.
*
* In this release, Title
is a required property.
*
* A finding's title. *
*
* In this release, Title
is a required property.
*
* In this release, Title
is a required property.
*
* A finding's description. *
*
* In this release, Description
is a required property.
*
* In this release, Description
is a required property.
*
* A finding's description. *
*
* In this release, Description
is a required property.
*
* In this release, Description
is a required property.
*
* A finding's description. *
*
* In this release, Description
is a required property.
*
* In this release, Description
is a required property.
*
* A data type that describes the remediation options for a finding. *
* * @param remediation * A data type that describes the remediation options for a finding. */ public void setRemediation(Remediation remediation) { this.remediation = remediation; } /** ** A data type that describes the remediation options for a finding. *
* * @return A data type that describes the remediation options for a finding. */ public Remediation getRemediation() { return this.remediation; } /** ** A data type that describes the remediation options for a finding. *
* * @param remediation * A data type that describes the remediation options for a finding. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withRemediation(Remediation remediation) { setRemediation(remediation); return this; } /** ** A URL that links to a page about the current finding in the security findings provider's solution. *
* * @param sourceUrl * A URL that links to a page about the current finding in the security findings provider's solution. */ public void setSourceUrl(String sourceUrl) { this.sourceUrl = sourceUrl; } /** ** A URL that links to a page about the current finding in the security findings provider's solution. *
* * @return A URL that links to a page about the current finding in the security findings provider's solution. */ public String getSourceUrl() { return this.sourceUrl; } /** ** A URL that links to a page about the current finding in the security findings provider's solution. *
* * @param sourceUrl * A URL that links to a page about the current finding in the security findings provider's solution. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsSecurityFinding withSourceUrl(String sourceUrl) { setSourceUrl(sourceUrl); return this; } /** *
* A data type where security findings providers can include additional solution-specific details that aren't part
* of the defined AwsSecurityFinding
format.
*
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters, and the * value can contain up to 2048 characters. *
* * @return A data type where security findings providers can include additional solution-specific details that * aren't part of the definedAwsSecurityFinding
format.
*
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters,
* and the value can contain up to 2048 characters.
*/
public java.util.Map
* A data type where security findings providers can include additional solution-specific details that aren't part
* of the defined
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters, and the
* value can contain up to 2048 characters.
* AwsSecurityFinding
format.
* AwsSecurityFinding
format.
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters,
* and the value can contain up to 2048 characters.
*/
public void setProductFields(java.util.Map
* A data type where security findings providers can include additional solution-specific details that aren't part
* of the defined
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters, and the
* value can contain up to 2048 characters.
* AwsSecurityFinding
format.
* AwsSecurityFinding
format.
* Can contain up to 50 key-value pairs. For each key-value pair, the key can contain up to 128 characters,
* and the value can contain up to 2048 characters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withProductFields(java.util.Map
* A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a
* finding.
*
* A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a
* finding.
*
* A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a
* finding.
*
* A list of malware related to a finding.
*
* A list of malware related to a finding.
*
* A list of malware related to a finding.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setMalware(java.util.Collection)} or {@link #withMalware(java.util.Collection)} if you want to override
* the existing values.
*
* A list of malware related to a finding.
*
* The details of network-related information about a finding.
*
* The details of network-related information about a finding.
*
* The details of network-related information about a finding.
*
* Provides information about a network path that is relevant to a finding. Each entry under
*
* Provides information about a network path that is relevant to a finding. Each entry under
*
* Provides information about a network path that is relevant to a finding. Each entry under
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setNetworkPath(java.util.Collection)} or {@link #withNetworkPath(java.util.Collection)} if you want to
* override the existing values.
*
* Provides information about a network path that is relevant to a finding. Each entry under
*
* The details of process-related information about a finding.
*
* The details of process-related information about a finding.
*
* The details of process-related information about a finding.
*
* Details about the threat detected in a security finding and the file paths that were affected by the threat.
*
* Details about the threat detected in a security finding and the file paths that were affected by the threat.
*
* Details about the threat detected in a security finding and the file paths that were affected by the threat.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setThreats(java.util.Collection)} or {@link #withThreats(java.util.Collection)} if you want to override
* the existing values.
*
* Details about the threat detected in a security finding and the file paths that were affected by the threat.
*
* Threat intelligence details related to a finding.
*
* Threat intelligence details related to a finding.
*
* Threat intelligence details related to a finding.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setThreatIntelIndicators(java.util.Collection)} or
* {@link #withThreatIntelIndicators(java.util.Collection)} if you want to override the existing values.
*
* Threat intelligence details related to a finding.
*
* A set of resource data types that describe the resources that the finding refers to.
*
* A set of resource data types that describe the resources that the finding refers to.
*
* 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
* {@link #setResources(java.util.Collection)} or {@link #withResources(java.util.Collection)} if you want to
* override the existing values.
*
* A set of resource data types that describe the resources that the finding refers to.
*
* This data type is exclusive to findings that are generated as the result of a check run against a specific rule
* in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related
* finding details.
*
* This data type is exclusive to findings that are generated as the result of a check run against a specific rule
* in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related
* finding details.
*
* This data type is exclusive to findings that are generated as the result of a check run against a specific rule
* in a supported security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related
* finding details.
*
* Indicates the veracity of a finding.
*
* Indicates the veracity of a finding.
*
* Indicates the veracity of a finding.
*
* Indicates the veracity of a finding.
*
* The workflow state of a finding.
*
* The workflow state of a finding.
*
* The workflow state of a finding.
*
* The workflow state of a finding.
*
* Provides information about the status of the investigation into a finding.
*
* Provides information about the status of the investigation into a finding.
*
* Provides information about the status of the investigation into a finding.
*
* The record state of a finding.
*
* The record state of a finding.
*
* The record state of a finding.
*
* The record state of a finding.
*
* A list of related findings.
*
* A list of related findings.
*
* A list of related findings.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setRelatedFindings(java.util.Collection)} or {@link #withRelatedFindings(java.util.Collection)} if you
* want to override the existing values.
*
* A list of related findings.
*
* A user-defined note added to a finding.
*
* A user-defined note added to a finding.
*
* A user-defined note added to a finding.
*
* Provides a list of vulnerabilities associated with the findings.
*
* Provides a list of vulnerabilities associated with the findings.
*
* Provides a list of vulnerabilities associated with the findings.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setVulnerabilities(java.util.Collection)} or {@link #withVulnerabilities(java.util.Collection)} if you
* want to override the existing values.
*
* Provides a list of vulnerabilities associated with the findings.
*
* Provides an overview of the patch compliance status for an instance against a selected compliance standard.
*
* Provides an overview of the patch compliance status for an instance against a selected compliance standard.
*
* Provides an overview of the patch compliance status for an instance against a selected compliance standard.
*
* Provides details about an action that affects or that was taken on a resource.
*
* Provides details about an action that affects or that was taken on a resource.
*
* Provides details about an action that affects or that was taken on a resource.
*
* In a
* In a
* In a
* Indicates whether the finding is a sample finding.
*
* Indicates whether the finding is a sample finding.
*
* Indicates whether the finding is a sample finding.
*
* Indicates whether the finding is a sample finding.
* NetworkPath
represents a component of that path.
* NetworkPath
represents a component of that path.
*/
public java.util.ListNetworkPath
represents a component of that path.
* NetworkPath
represents a component of that path.
*/
public void setNetworkPath(java.util.CollectionNetworkPath
represents a component of that path.
* NetworkPath
represents a component of that path.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withNetworkPath(NetworkPathComponent... networkPath) {
if (this.networkPath == null) {
setNetworkPath(new java.util.ArrayListNetworkPath
represents a component of that path.
* NetworkPath
represents a component of that path.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withNetworkPath(java.util.CollectionBatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
* BatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
*/
public void setFindingProviderFields(FindingProviderFields findingProviderFields) {
this.findingProviderFields = findingProviderFields;
}
/**
* BatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
* BatchImportFindings
request, finding providers use FindingProviderFields
* to provide and update their own values for confidence, criticality, related findings, severity, and
* types.
*/
public FindingProviderFields getFindingProviderFields() {
return this.findingProviderFields;
}
/**
* BatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
* BatchImportFindings
request, finding providers use FindingProviderFields
to
* provide and update their own values for confidence, criticality, related findings, severity, and types.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsSecurityFinding withFindingProviderFields(FindingProviderFields findingProviderFields) {
setFindingProviderFields(findingProviderFields);
return this;
}
/**
*