Class: Aws::SecurityAgent::Types::CreateCodeReviewInput

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

Overview

Input for creating a new code review.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_space_id ⇒ String

The unique identifier of the agent space to create the code review in.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#assets ⇒ Types::Assets

The assets to include in the code review, such as documents and source code.

Returns:



2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#code_remediation_strategy ⇒ String

The code remediation strategy for the code review. Valid values are AUTOMATIC and DISABLED.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#log_config ⇒ Types::CloudWatchLog

The CloudWatch Logs configuration for the code review.



2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#max_task_hours ⇒ Float

The maximum number of billable task hours allowed for jobs started from this code review. Must be a positive number. If not set, jobs run to completion with no budget cap.

Returns:

  • (Float)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#report_destination ⇒ Types::ReportDestination

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



2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#report_filters ⇒ Types::ReportFilters

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



2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#service_role ⇒ String

The IAM service role to use for the code review.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#title ⇒ String

The title of the code review.

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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

#validation_mode ⇒ String

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

Returns:

  • (String)


2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 2330

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