public static interface AwsSecurityFinding.Builder extends SdkPojo, CopyableBuilder<AwsSecurityFinding.Builder,AwsSecurityFinding>
| Modifier and Type | Method and Description |
|---|---|
AwsSecurityFinding.Builder |
action(Action action)
Provides details about an action that affects or that was taken on a resource.
|
default AwsSecurityFinding.Builder |
action(Consumer<Action.Builder> action)
Provides details about an action that affects or that was taken on a resource.
|
AwsSecurityFinding.Builder |
awsAccountId(String awsAccountId)
The Amazon Web Services account ID that a finding is generated in.
|
AwsSecurityFinding.Builder |
companyName(String companyName)
The name of the company for the product that generated the finding.
|
AwsSecurityFinding.Builder |
compliance(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 security standard, such as CIS Amazon Web Services Foundations.
|
default AwsSecurityFinding.Builder |
compliance(Consumer<Compliance.Builder> 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 security standard, such as CIS Amazon Web Services Foundations.
|
AwsSecurityFinding.Builder |
confidence(Integer confidence)
A finding's confidence.
|
AwsSecurityFinding.Builder |
createdAt(String createdAt)
Indicates when the security findings provider created the potential security issue that a finding captured.
|
AwsSecurityFinding.Builder |
criticality(Integer criticality)
The level of importance assigned to the resources associated with the finding.
|
AwsSecurityFinding.Builder |
description(String description)
A finding's description.
|
default AwsSecurityFinding.Builder |
findingProviderFields(Consumer<FindingProviderFields.Builder> findingProviderFields)
In a
BatchImportFindings request, finding providers use FindingProviderFields to
provide and update their own values for confidence, criticality, related findings, severity, and types. |
AwsSecurityFinding.Builder |
findingProviderFields(FindingProviderFields findingProviderFields)
In a
BatchImportFindings request, finding providers use FindingProviderFields to
provide and update their own values for confidence, criticality, related findings, severity, and types. |
AwsSecurityFinding.Builder |
firstObservedAt(String firstObservedAt)
Indicates when the security findings provider first observed the potential security issue that a finding
captured.
|
AwsSecurityFinding.Builder |
generatorId(String generatorId)
The identifier for the solution-specific component (a discrete unit of logic) that generated a finding.
|
AwsSecurityFinding.Builder |
id(String id)
The security findings provider-specific identifier for a finding.
|
AwsSecurityFinding.Builder |
lastObservedAt(String lastObservedAt)
Indicates when the security findings provider most recently observed the potential security issue that a
finding captured.
|
AwsSecurityFinding.Builder |
malware(Collection<Malware> malware)
A list of malware related to a finding.
|
AwsSecurityFinding.Builder |
malware(Consumer<Malware.Builder>... malware)
A list of malware related to a finding.
|
AwsSecurityFinding.Builder |
malware(Malware... malware)
A list of malware related to a finding.
|
default AwsSecurityFinding.Builder |
network(Consumer<Network.Builder> network)
The details of network-related information about a finding.
|
AwsSecurityFinding.Builder |
network(Network network)
The details of network-related information about a finding.
|
AwsSecurityFinding.Builder |
networkPath(Collection<NetworkPathComponent> networkPath)
Provides information about a network path that is relevant to a finding.
|
AwsSecurityFinding.Builder |
networkPath(Consumer<NetworkPathComponent.Builder>... networkPath)
Provides information about a network path that is relevant to a finding.
|
AwsSecurityFinding.Builder |
networkPath(NetworkPathComponent... networkPath)
Provides information about a network path that is relevant to a finding.
|
default AwsSecurityFinding.Builder |
note(Consumer<Note.Builder> note)
A user-defined note added to a finding.
|
AwsSecurityFinding.Builder |
note(Note note)
A user-defined note added to a finding.
|
default AwsSecurityFinding.Builder |
patchSummary(Consumer<PatchSummary.Builder> patchSummary)
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
|
AwsSecurityFinding.Builder |
patchSummary(PatchSummary patchSummary)
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
|
default AwsSecurityFinding.Builder |
process(Consumer<ProcessDetails.Builder> process)
The details of process-related information about a finding.
|
AwsSecurityFinding.Builder |
process(ProcessDetails process)
The details of process-related information about a finding.
|
AwsSecurityFinding.Builder |
productArn(String productArn)
The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
AwsSecurityFinding.Builder |
productFields(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.Builder |
productName(String productName)
The name of the product that generated the finding.
|
AwsSecurityFinding.Builder |
recordState(RecordState recordState)
The record state of a finding.
|
AwsSecurityFinding.Builder |
recordState(String recordState)
The record state of a finding.
|
AwsSecurityFinding.Builder |
region(String region)
The Region from which the finding was generated.
|
AwsSecurityFinding.Builder |
relatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
|
AwsSecurityFinding.Builder |
relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)
A list of related findings.
|
AwsSecurityFinding.Builder |
relatedFindings(RelatedFinding... relatedFindings)
A list of related findings.
|
default AwsSecurityFinding.Builder |
remediation(Consumer<Remediation.Builder> remediation)
A data type that describes the remediation options for a finding.
|
AwsSecurityFinding.Builder |
remediation(Remediation remediation)
A data type that describes the remediation options for a finding.
|
AwsSecurityFinding.Builder |
resources(Collection<Resource> resources)
A set of resource data types that describe the resources that the finding refers to.
|
AwsSecurityFinding.Builder |
resources(Consumer<Resource.Builder>... resources)
A set of resource data types that describe the resources that the finding refers to.
|
AwsSecurityFinding.Builder |
resources(Resource... resources)
A set of resource data types that describe the resources that the finding refers to.
|
AwsSecurityFinding.Builder |
sample(Boolean sample)
Indicates whether the finding is a sample finding.
|
AwsSecurityFinding.Builder |
schemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
|
default AwsSecurityFinding.Builder |
severity(Consumer<Severity.Builder> severity)
A finding's severity.
|
AwsSecurityFinding.Builder |
severity(Severity severity)
A finding's severity.
|
AwsSecurityFinding.Builder |
sourceUrl(String sourceUrl)
A URL that links to a page about the current finding in the security findings provider's solution.
|
AwsSecurityFinding.Builder |
threatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intelligence details related to a finding.
|
AwsSecurityFinding.Builder |
threatIntelIndicators(Consumer<ThreatIntelIndicator.Builder>... threatIntelIndicators)
Threat intelligence details related to a finding.
|
AwsSecurityFinding.Builder |
threatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intelligence details related to a finding.
|
AwsSecurityFinding.Builder |
threats(Collection<Threat> threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
|
AwsSecurityFinding.Builder |
threats(Consumer<Threat.Builder>... threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
|
AwsSecurityFinding.Builder |
threats(Threat... threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
|
AwsSecurityFinding.Builder |
title(String title)
A finding's title.
|
AwsSecurityFinding.Builder |
types(Collection<String> types)
One or more finding types in the format of
namespace/category/classifier that classify a
finding. |
AwsSecurityFinding.Builder |
types(String... types)
One or more finding types in the format of
namespace/category/classifier that classify a
finding. |
AwsSecurityFinding.Builder |
updatedAt(String updatedAt)
Indicates when the security findings provider last updated the finding record.
|
AwsSecurityFinding.Builder |
userDefinedFields(Map<String,String> userDefinedFields)
A list of name/value string pairs associated with the finding.
|
AwsSecurityFinding.Builder |
verificationState(String verificationState)
Indicates the veracity of a finding.
|
AwsSecurityFinding.Builder |
verificationState(VerificationState verificationState)
Indicates the veracity of a finding.
|
AwsSecurityFinding.Builder |
vulnerabilities(Collection<Vulnerability> vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
|
AwsSecurityFinding.Builder |
vulnerabilities(Consumer<Vulnerability.Builder>... vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
|
AwsSecurityFinding.Builder |
vulnerabilities(Vulnerability... vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
|
default AwsSecurityFinding.Builder |
workflow(Consumer<Workflow.Builder> workflow)
Provides information about the status of the investigation into a finding.
|
AwsSecurityFinding.Builder |
workflow(Workflow workflow)
Provides information about the status of the investigation into a finding.
|
AwsSecurityFinding.Builder |
workflowState(String workflowState)
The workflow state of a finding.
|
AwsSecurityFinding.Builder |
workflowState(WorkflowState workflowState)
The workflow state of a finding.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsSecurityFinding.Builder schemaVersion(String schemaVersion)
The schema version that a finding is formatted for.
schemaVersion - The schema version that a finding is formatted for.AwsSecurityFinding.Builder id(String id)
The security findings provider-specific identifier for a finding.
id - The security findings provider-specific identifier for a finding.AwsSecurityFinding.Builder productArn(String 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.
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.AwsSecurityFinding.Builder productName(String 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.
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.
AwsSecurityFinding.Builder companyName(String 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.
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.
AwsSecurityFinding.Builder region(String 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.
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.
AwsSecurityFinding.Builder generatorId(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 plugin, 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 plugin, etc.AwsSecurityFinding.Builder awsAccountId(String awsAccountId)
The Amazon Web Services account ID that a finding is generated in.
awsAccountId - The Amazon Web Services account ID that a finding is generated in.AwsSecurityFinding.Builder types(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
AwsSecurityFinding.Builder types(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
AwsSecurityFinding.Builder firstObservedAt(String 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.
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.
AwsSecurityFinding.Builder lastObservedAt(String 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.
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.
AwsSecurityFinding.Builder createdAt(String 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.
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.
AwsSecurityFinding.Builder updatedAt(String 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.
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.
AwsSecurityFinding.Builder severity(Severity severity)
A finding's severity.
severity - A finding's severity.default AwsSecurityFinding.Builder severity(Consumer<Severity.Builder> severity)
A finding's severity.
This is a convenience method that creates an instance of theSeverity.Builder avoiding the need to
create one manually via Severity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to severity(Severity).
severity - a consumer that will call methods on Severity.Builderseverity(Severity)AwsSecurityFinding.Builder confidence(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.
AwsSecurityFinding.Builder criticality(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.
AwsSecurityFinding.Builder title(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.
AwsSecurityFinding.Builder description(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.
AwsSecurityFinding.Builder remediation(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.default AwsSecurityFinding.Builder remediation(Consumer<Remediation.Builder> remediation)
A data type that describes the remediation options for a finding.
This is a convenience method that creates an instance of theRemediation.Builder avoiding the need to
create one manually via Remediation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to remediation(Remediation).
remediation - a consumer that will call methods on Remediation.Builderremediation(Remediation)AwsSecurityFinding.Builder sourceUrl(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.AwsSecurityFinding.Builder productFields(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.
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.
productFields - 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.
AwsSecurityFinding.Builder userDefinedFields(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.AwsSecurityFinding.Builder malware(Collection<Malware> malware)
A list of malware related to a finding.
malware - A list of malware related to a finding.AwsSecurityFinding.Builder malware(Malware... malware)
A list of malware related to a finding.
malware - A list of malware related to a finding.AwsSecurityFinding.Builder malware(Consumer<Malware.Builder>... malware)
A list of malware related to a finding.
This is a convenience method that creates an instance of theMalware.Builder avoiding the need to create one
manually via Malware.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #malware(List.
malware - a consumer that will call methods on
Malware.Builder#malware(java.util.Collection) AwsSecurityFinding.Builder network(Network network)
The details of network-related information about a finding.
network - The details of network-related information about a finding.default AwsSecurityFinding.Builder network(Consumer<Network.Builder> network)
The details of network-related information about a finding.
This is a convenience method that creates an instance of theNetwork.Builder avoiding the need to
create one manually via Network.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to network(Network).
network - a consumer that will call methods on Network.Buildernetwork(Network)AwsSecurityFinding.Builder networkPath(Collection<NetworkPathComponent> networkPath)
Provides information about a network path that is relevant to a finding. Each entry under
NetworkPath represents a component of that path.
networkPath - Provides information about a network path that is relevant to a finding. Each entry under
NetworkPath represents a component of that path.AwsSecurityFinding.Builder networkPath(NetworkPathComponent... networkPath)
Provides information about a network path that is relevant to a finding. Each entry under
NetworkPath represents a component of that path.
networkPath - Provides information about a network path that is relevant to a finding. Each entry under
NetworkPath represents a component of that path.AwsSecurityFinding.Builder networkPath(Consumer<NetworkPathComponent.Builder>... networkPath)
Provides information about a network path that is relevant to a finding. Each entry under
NetworkPath represents a component of that path.
NetworkPathComponent.Builder avoiding the need to
create one manually via
NetworkPathComponent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #networkPath(List.
networkPath - a consumer that will call methods on
NetworkPathComponent.Builder#networkPath(java.util.Collection) AwsSecurityFinding.Builder process(ProcessDetails process)
The details of process-related information about a finding.
process - The details of process-related information about a finding.default AwsSecurityFinding.Builder process(Consumer<ProcessDetails.Builder> process)
The details of process-related information about a finding.
This is a convenience method that creates an instance of theProcessDetails.Builder avoiding the need
to create one manually via ProcessDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to process(ProcessDetails).
process - a consumer that will call methods on ProcessDetails.Builderprocess(ProcessDetails)AwsSecurityFinding.Builder threats(Collection<Threat> threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
threats - Details about the threat detected in a security finding and the file paths that were affected by the
threat.AwsSecurityFinding.Builder threats(Threat... threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
threats - Details about the threat detected in a security finding and the file paths that were affected by the
threat.AwsSecurityFinding.Builder threats(Consumer<Threat.Builder>... threats)
Details about the threat detected in a security finding and the file paths that were affected by the threat.
This is a convenience method that creates an instance of theThreat.Builder avoiding the need to create one
manually via Threat.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #threats(List.
threats - a consumer that will call methods on
Threat.Builder#threats(java.util.Collection) AwsSecurityFinding.Builder threatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intelligence details related to a finding.
threatIntelIndicators - Threat intelligence details related to a finding.AwsSecurityFinding.Builder threatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intelligence details related to a finding.
threatIntelIndicators - Threat intelligence details related to a finding.AwsSecurityFinding.Builder threatIntelIndicators(Consumer<ThreatIntelIndicator.Builder>... threatIntelIndicators)
Threat intelligence details related to a finding.
This is a convenience method that creates an instance of theThreatIntelIndicator.Builder avoiding the need to
create one manually via
ThreatIntelIndicator.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #threatIntelIndicators(List.
threatIntelIndicators - a consumer that will call methods on
ThreatIntelIndicator.Builder#threatIntelIndicators(java.util.Collection) AwsSecurityFinding.Builder resources(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.AwsSecurityFinding.Builder resources(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.AwsSecurityFinding.Builder resources(Consumer<Resource.Builder>... resources)
A set of resource data types that describe the resources that the finding refers to.
This is a convenience method that creates an instance of theResource.Builder avoiding the need to create one
manually via Resource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #resources(List.
resources - a consumer that will call methods on
Resource.Builder#resources(java.util.Collection) AwsSecurityFinding.Builder compliance(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 security standard, such as CIS Amazon Web Services Foundations. Contains security standard-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 security standard, such as CIS Amazon Web Services Foundations. Contains
security standard-related finding details.default AwsSecurityFinding.Builder compliance(Consumer<Compliance.Builder> 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 security standard, such as CIS Amazon Web Services Foundations. Contains security standard-related finding details.
This is a convenience method that creates an instance of theCompliance.Builder avoiding the need to
create one manually via Compliance.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to compliance(Compliance).
compliance - a consumer that will call methods on Compliance.Buildercompliance(Compliance)AwsSecurityFinding.Builder verificationState(String verificationState)
Indicates the veracity of a finding.
verificationState - Indicates the veracity of a finding.VerificationState,
VerificationStateAwsSecurityFinding.Builder verificationState(VerificationState verificationState)
Indicates the veracity of a finding.
verificationState - Indicates the veracity of a finding.VerificationState,
VerificationStateAwsSecurityFinding.Builder workflowState(String workflowState)
The workflow state of a finding.
workflowState - The workflow state of a finding.WorkflowState,
WorkflowStateAwsSecurityFinding.Builder workflowState(WorkflowState workflowState)
The workflow state of a finding.
workflowState - The workflow state of a finding.WorkflowState,
WorkflowStateAwsSecurityFinding.Builder workflow(Workflow workflow)
Provides information about the status of the investigation into a finding.
workflow - Provides information about the status of the investigation into a finding.default AwsSecurityFinding.Builder workflow(Consumer<Workflow.Builder> workflow)
Provides information about the status of the investigation into a finding.
This is a convenience method that creates an instance of theWorkflow.Builder avoiding the need to
create one manually via Workflow.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to workflow(Workflow).
workflow - a consumer that will call methods on Workflow.Builderworkflow(Workflow)AwsSecurityFinding.Builder recordState(String recordState)
The record state of a finding.
recordState - The record state of a finding.RecordState,
RecordStateAwsSecurityFinding.Builder recordState(RecordState recordState)
The record state of a finding.
recordState - The record state of a finding.RecordState,
RecordStateAwsSecurityFinding.Builder relatedFindings(Collection<RelatedFinding> relatedFindings)
A list of related findings.
relatedFindings - A list of related findings.AwsSecurityFinding.Builder relatedFindings(RelatedFinding... relatedFindings)
A list of related findings.
relatedFindings - A list of related findings.AwsSecurityFinding.Builder relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)
A list of related findings.
This is a convenience method that creates an instance of theRelatedFinding.Builder avoiding the need to create
one manually via RelatedFinding.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #relatedFindings(List.
relatedFindings - a consumer that will call methods on
RelatedFinding.Builder#relatedFindings(java.util.Collection) AwsSecurityFinding.Builder note(Note note)
A user-defined note added to a finding.
note - A user-defined note added to a finding.default AwsSecurityFinding.Builder note(Consumer<Note.Builder> note)
A user-defined note added to a finding.
This is a convenience method that creates an instance of theNote.Builder avoiding the need to create
one manually via Note.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to note(Note).
note - a consumer that will call methods on Note.Buildernote(Note)AwsSecurityFinding.Builder vulnerabilities(Collection<Vulnerability> vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
vulnerabilities - Provides a list of vulnerabilities associated with the findings.AwsSecurityFinding.Builder vulnerabilities(Vulnerability... vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
vulnerabilities - Provides a list of vulnerabilities associated with the findings.AwsSecurityFinding.Builder vulnerabilities(Consumer<Vulnerability.Builder>... vulnerabilities)
Provides a list of vulnerabilities associated with the findings.
This is a convenience method that creates an instance of theVulnerability.Builder avoiding the need to create
one manually via Vulnerability.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #vulnerabilities(List.
vulnerabilities - a consumer that will call methods on
Vulnerability.Builder#vulnerabilities(java.util.Collection) AwsSecurityFinding.Builder patchSummary(PatchSummary patchSummary)
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
patchSummary - Provides an overview of the patch compliance status for an instance against a selected compliance
standard.default AwsSecurityFinding.Builder patchSummary(Consumer<PatchSummary.Builder> patchSummary)
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
This is a convenience method that creates an instance of thePatchSummary.Builder avoiding the need
to create one manually via PatchSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to patchSummary(PatchSummary).
patchSummary - a consumer that will call methods on PatchSummary.BuilderpatchSummary(PatchSummary)AwsSecurityFinding.Builder action(Action action)
Provides details about an action that affects or that was taken on a resource.
action - Provides details about an action that affects or that was taken on a resource.default AwsSecurityFinding.Builder action(Consumer<Action.Builder> action)
Provides details about an action that affects or that was taken on a resource.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to
create one manually via Action.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to action(Action).
action - a consumer that will call methods on Action.Builderaction(Action)AwsSecurityFinding.Builder findingProviderFields(FindingProviderFields findingProviderFields)
In a BatchImportFindings request, finding providers use FindingProviderFields to
provide and update their own values for confidence, criticality, related findings, severity, and types.
findingProviderFields - In a BatchImportFindings request, finding providers use
FindingProviderFields to provide and update their own values for confidence, criticality,
related findings, severity, and types.default AwsSecurityFinding.Builder findingProviderFields(Consumer<FindingProviderFields.Builder> findingProviderFields)
In a BatchImportFindings request, finding providers use FindingProviderFields to
provide and update their own values for confidence, criticality, related findings, severity, and types.
FindingProviderFields.Builder avoiding
the need to create one manually via FindingProviderFields.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to findingProviderFields(FindingProviderFields).
findingProviderFields - a consumer that will call methods on FindingProviderFields.BuilderfindingProviderFields(FindingProviderFields)AwsSecurityFinding.Builder sample(Boolean sample)
Indicates whether the finding is a sample finding.
sample - Indicates whether the finding is a sample finding.Copyright © 2023. All rights reserved.