Class: Aws::Continuum::Types::CreateCodeFindingInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Continuum::Types::CreateCodeFindingInput
- Defined in:
- gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb
Overview
Specifies the environment and the finding document to ingest.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Caller-provided idempotency token.
-
#environment_id ⇒ String
The environment to ingest the finding into.
-
#ocsf_document ⇒ Hash, ...
The OCSF finding document to ingest, verbatim.
Instance Attribute Details
#client_token ⇒ String
Caller-provided idempotency token. A retry with the same token and an identical finding document replays the original result; the same token with different content is rejected.
A suitable default value is auto-generated. You should normally not need to pass this option.
429 430 431 432 433 434 435 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 429 class CreateCodeFindingInput < Struct.new( :environment_id, :ocsf_document, :client_token) SENSITIVE = [] include Aws::Structure end |
#environment_id ⇒ String
The environment to ingest the finding into.
429 430 431 432 433 434 435 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 429 class CreateCodeFindingInput < Struct.new( :environment_id, :ocsf_document, :client_token) SENSITIVE = [] include Aws::Structure end |
#ocsf_document ⇒ Hash, ...
The OCSF finding document to ingest, verbatim. Must declare a class_uid Continuum supports (2002 Vulnerability Finding, or 2007 Application Security Posture Finding) and validate against the vendored OCSF JSON Schema for that class, including the Continuum overlay requirements that finding_info.uid be present and that vulnerabilities[0].affected_code[0].file identify the code location. With several repositories in the environment, the file path must begin with the repository name. Maximum size 256 KB. Stored verbatim and normalized into the typed Finding members returned by GetCodeFinding. GetCodeFinding does not return the document itself.
429 430 431 432 433 434 435 |
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 429 class CreateCodeFindingInput < Struct.new( :environment_id, :ocsf_document, :client_token) SENSITIVE = [] include Aws::Structure end |