Class: Aws::SecurityAgent::Types::Finding

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb

Overview

Represents a security finding discovered during a pentest job. A finding contains details about a vulnerability, including its risk level, confidence, and remediation status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_space_idString

The unique identifier of the agent space associated with the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#attack_scriptString

The attack script used to reproduce the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_locationsArray<Types::CodeLocation>

The file locations involved in the vulnerability, as reported by the code scanner.

Returns:



2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_remediation_taskTypes::CodeRemediationTask

The code remediation task associated with the finding, if code remediation was initiated.



2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_review_idString

The unique identifier of the code review associated with the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_review_job_idString

The unique identifier of the code review job that produced the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceString

The confidence level of the finding. Valid values include FALSE_POSITIVE, UNCONFIRMED, LOW, MEDIUM, and HIGH.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The date and time the finding was created, in UTC format.

Returns:

  • (Time)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#finding_idString

The unique identifier of the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_byString

The identifier of the entity that last updated the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#pentest_idString

The unique identifier of the pentest associated with the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#pentest_job_idString

The unique identifier of the pentest job that produced the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#reasoningString

The reasoning behind the finding, explaining why it was identified as a vulnerability.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#risk_levelString

The risk level of the finding. Valid values include UNKNOWN, INFORMATIONAL, LOW, MEDIUM, HIGH, and CRITICAL.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#risk_scoreString

The numerical risk score of the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#risk_typeString

The type of security risk identified by the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The current status of the finding. Valid values include ACTIVE, RESOLVED, ACCEPTED, and FALSE_POSITIVE.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#task_idString

The unique identifier of the task that produced the finding.

Returns:

  • (String)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

The date and time the finding was last updated, in UTC format.

Returns:

  • (Time)


2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2299

class Finding < Struct.new(
  :finding_id,
  :agent_space_id,
  :pentest_id,
  :pentest_job_id,
  :code_review_id,
  :code_review_job_id,
  :task_id,
  :name,
  :description,
  :status,
  :risk_type,
  :risk_level,
  :risk_score,
  :reasoning,
  :confidence,
  :attack_script,
  :code_remediation_task,
  :last_updated_by,
  :code_locations,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end