Class: Aws::SecurityAgent::Types::CodeReview

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

Overview

Represents a code review configuration that defines the parameters for automated security-focused code analysis, including target assets and logging configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_space_id ⇒ String

The unique identifier of the agent space that contains the code review.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#assets ⇒ Types::Assets

The assets included in the code review.

Returns:



1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_remediation_strategy ⇒ String

The code remediation strategy for the code review.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#code_review_id ⇒ String

The unique identifier of the code review.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

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

Returns:

  • (Time)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#log_config ⇒ Types::CloudWatchLog

The CloudWatch Logs configuration for the code review.



1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#max_task_hours ⇒ Float

The maximum number of billable task hours allowed for jobs started from this code review. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.

Returns:

  • (Float)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#report_destination ⇒ Types::ReportDestination

The destination for publishing scan reports to an integrated document provider.



1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#report_filters ⇒ Types::ReportFilters

The report-generation filters applied when the report is exported.



1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#service_role ⇒ String

The IAM service role used for the code review.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#title ⇒ String

The title of the code review.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

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

Returns:

  • (Time)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#validation_mode ⇒ String

The validation mode for the code review. Valid values are SIMULATED and DISABLED.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1677

class CodeReview < Struct.new(
  :code_review_id,
  :agent_space_id,
  :title,
  :assets,
  :service_role,
  :log_config,
  :code_remediation_strategy,
  :validation_mode,
  :max_task_hours,
  :report_destination,
  :report_filters,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end