public static interface AwsSecurityFinding.Builder extends SdkPojo, CopyableBuilder<AwsSecurityFinding.Builder,AwsSecurityFinding>
Modifier and Type | Method and Description |
---|---|
AwsSecurityFinding.Builder |
awsAccountId(String awsAccountId)
The AWS account ID in which a finding is generated.
|
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 standard (for example, AWS CIS 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 standard (for example, AWS CIS Foundations).
|
AwsSecurityFinding.Builder |
confidence(Integer confidence)
A finding's confidence.
|
AwsSecurityFinding.Builder |
createdAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was
created by the security findings provider.
|
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.
|
AwsSecurityFinding.Builder |
firstObservedAt(String firstObservedAt)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was
first observed by the security findings provider.
|
AwsSecurityFinding.Builder |
generatorId(String generatorId)
This is 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)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was
most recently observed by the security findings provider.
|
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.
|
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 |
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 third-party company (security findings provider)
once this provider's product (solution that generates findings) is registered with Security Hub.
|
AwsSecurityFinding.Builder |
productFields(Map<String,String> productFields)
A data type where security findings providers can include additional solution-specific details that are not
part of the defined AwsSecurityFinding format.
|
AwsSecurityFinding.Builder |
recordState(RecordState recordState)
The record state of a finding.
|
AwsSecurityFinding.Builder |
recordState(String recordState)
The record state of a finding.
|
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)
An data type that describes the remediation options for a finding.
|
AwsSecurityFinding.Builder |
remediation(Remediation remediation)
An 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 to which the finding refers.
|
AwsSecurityFinding.Builder |
resources(Consumer<Resource.Builder>... resources)
A set of resource data types that describe the resources to which the finding refers.
|
AwsSecurityFinding.Builder |
resources(Resource... resources)
A set of resource data types that describe the resources to which the finding refers.
|
AwsSecurityFinding.Builder |
schemaVersion(String schemaVersion)
The schema version for which a finding is formatted.
|
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 intel details related to a finding.
|
AwsSecurityFinding.Builder |
threatIntelIndicators(Consumer<ThreatIntelIndicator.Builder>... threatIntelIndicators)
Threat intel details related to a finding.
|
AwsSecurityFinding.Builder |
threatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intel details related to a finding.
|
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)
An ISO8601-formatted timestamp that indicates when the finding record was last updated by the security
findings provider.
|
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 |
workflowState(String workflowState)
The workflow state of a finding.
|
AwsSecurityFinding.Builder |
workflowState(WorkflowState workflowState)
The workflow state of a finding.
|
copy
applyMutation, build
AwsSecurityFinding.Builder schemaVersion(String schemaVersion)
The schema version for which a finding is formatted.
schemaVersion
- The schema version for which a finding is formatted.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 third-party company (security findings provider) once 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) once this provider's product (solution that generates findings) is registered with Security
Hub.AwsSecurityFinding.Builder generatorId(String generatorId)
This is the identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security findings provider's solutions, this generator can be called a rule, a check, a detector, a plug-in, etc.
generatorId
- This is the identifier for the solution-specific component (a discrete unit of logic) that generated a
finding. In various security findings provider's solutions, this generator can be called a rule, a
check, a detector, a plug-in, etc.AwsSecurityFinding.Builder awsAccountId(String awsAccountId)
The AWS account ID in which a finding is generated.
awsAccountId
- The AWS account ID in which a finding is generated.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)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings provider.
firstObservedAt
- An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding
was first observed by the security findings provider.AwsSecurityFinding.Builder lastObservedAt(String lastObservedAt)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings provider.
lastObservedAt
- An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding
was most recently observed by the security findings provider.AwsSecurityFinding.Builder createdAt(String createdAt)
An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding was created by the security findings provider.
createdAt
- An ISO8601-formatted timestamp that indicates when the potential security issue captured by a finding
was created by the security findings provider.AwsSecurityFinding.Builder updatedAt(String updatedAt)
An ISO8601-formatted timestamp that indicates when the finding record was last updated by the security findings provider.
updatedAt
- An ISO8601-formatted timestamp that indicates when the finding record was last updated by the security
findings provider.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 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.Builder
severity(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. 0 equates zero percent confidence and 100 equates to 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. 0 equates zero percent confidence and 100 equates to 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 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 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.
title
- A finding's title.AwsSecurityFinding.Builder description(String description)
A finding's description.
description
- A finding's description.AwsSecurityFinding.Builder remediation(Remediation remediation)
An data type that describes the remediation options for a finding.
remediation
- An data type that describes the remediation options for a finding.default AwsSecurityFinding.Builder remediation(Consumer<Remediation.Builder> remediation)
An data type that describes the remediation options for a finding.
This is a convenience 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.Builder
remediation(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 are not part of the defined AwsSecurityFinding format.
productFields
- A data type where security findings providers can include additional solution-specific details that
are not part of the defined AwsSecurityFinding format.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #malware(List)
.malware
- a consumer that will call methods on List.Builder
#malware(List)
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 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.Builder
network(Network)
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 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.Builder
process(ProcessDetails)
AwsSecurityFinding.Builder threatIntelIndicators(Collection<ThreatIntelIndicator> threatIntelIndicators)
Threat intel details related to a finding.
threatIntelIndicators
- Threat intel details related to a finding.AwsSecurityFinding.Builder threatIntelIndicators(ThreatIntelIndicator... threatIntelIndicators)
Threat intel details related to a finding.
threatIntelIndicators
- Threat intel details related to a finding.AwsSecurityFinding.Builder threatIntelIndicators(Consumer<ThreatIntelIndicator.Builder>... threatIntelIndicators)
Threat intel details related to a finding.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #threatIntelIndicators(List)
.threatIntelIndicators
- a consumer that will call methods on List.Builder
#threatIntelIndicators(List)
AwsSecurityFinding.Builder resources(Collection<Resource> resources)
A set of resource data types that describe the resources to which the finding refers.
resources
- A set of resource data types that describe the resources to which the finding refers.AwsSecurityFinding.Builder resources(Resource... resources)
A set of resource data types that describe the resources to which the finding refers.
resources
- A set of resource data types that describe the resources to which the finding refers.AwsSecurityFinding.Builder resources(Consumer<Resource.Builder>... resources)
A set of resource data types that describe the resources to which the finding refers.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #resources(List)
.resources
- a consumer that will call methods on List.Builder
#resources(List)
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 standard (for example, AWS CIS 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, AWS CIS Foundations). Contains compliance-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 standard (for example, AWS CIS Foundations). Contains compliance-related finding details.
This is a convenience 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.Builder
compliance(Compliance)
AwsSecurityFinding.Builder verificationState(String verificationState)
Indicates the veracity of a finding.
verificationState
- Indicates the veracity of a finding.VerificationState
,
VerificationState
AwsSecurityFinding.Builder verificationState(VerificationState verificationState)
Indicates the veracity of a finding.
verificationState
- Indicates the veracity of a finding.VerificationState
,
VerificationState
AwsSecurityFinding.Builder workflowState(String workflowState)
The workflow state of a finding.
workflowState
- The workflow state of a finding.WorkflowState
,
WorkflowState
AwsSecurityFinding.Builder workflowState(WorkflowState workflowState)
The workflow state of a finding.
workflowState
- The workflow state of a finding.WorkflowState
,
WorkflowState
AwsSecurityFinding.Builder recordState(String recordState)
The record state of a finding.
recordState
- The record state of a finding.RecordState
,
RecordState
AwsSecurityFinding.Builder recordState(RecordState recordState)
The record state of a finding.
recordState
- The record state of a finding.RecordState
,
RecordState
AwsSecurityFinding.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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #relatedFindings(List)
.relatedFindings
- a consumer that will call methods on List.Builder
#relatedFindings(List)
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 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.Builder
note(Note)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.