You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Inspector::Types::AssessmentRun

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .

Used as the response element in the DescribeAssessmentRuns action.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the assessment run.

Returns:

  • (String)

    The ARN of the assessment run.

#assessment_template_arnString

The ARN of the assessment template that is associated with the assessment run.

Returns:

  • (String)

    The ARN of the assessment template that is associated with the assessment run.

#completed_atTime

The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.

Returns:

  • (Time)

    The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.

#created_atTime

The time when StartAssessmentRun was called.

Returns:

#data_collectedBoolean

A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.

Returns:

  • (Boolean)

    A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.

#duration_in_secondsInteger

The duration of the assessment run.

Returns:

  • (Integer)

    The duration of the assessment run.

#finding_countsHash<String,Integer>

Provides a total count of generated findings per severity.

Returns:

  • (Hash<String,Integer>)

    Provides a total count of generated findings per severity.

#nameString

The auto-generated name for the assessment run.

Returns:

  • (String)

    The auto-generated name for the assessment run.

#notificationsArray<Types::AssessmentRunNotification>

A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.

Returns:

#rules_package_arnsArray<String>

The rules packages selected for the assessment run.

Returns:

  • (Array<String>)

    The rules packages selected for the assessment run.

#started_atTime

The time when StartAssessmentRun was called.

Returns:

#stateString

The state of the assessment run.

Possible values:

  • CREATED
  • START_DATA_COLLECTION_PENDING
  • START_DATA_COLLECTION_IN_PROGRESS
  • COLLECTING_DATA
  • STOP_DATA_COLLECTION_PENDING
  • DATA_COLLECTED
  • START_EVALUATING_RULES_PENDING
  • EVALUATING_RULES
  • FAILED
  • ERROR
  • COMPLETED
  • COMPLETED_WITH_ERRORS
  • CANCELED

Returns:

  • (String)

    The state of the assessment run.

#state_changed_atTime

The last time when the assessment run\'s state changed.

Returns:

  • (Time)

    The last time when the assessment run\'s state changed.

#state_changesArray<Types::AssessmentRunStateChange>

A list of the assessment run state changes.

Returns:

#user_attributes_for_findingsArray<Types::Attribute>

The user-defined attributes that are assigned to every generated finding.

Returns:

  • (Array<Types::Attribute>)

    The user-defined attributes that are assigned to every generated finding.