AssessmentRun class

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.

Constructors

AssessmentRun({required String arn, required String assessmentTemplateArn, required DateTime createdAt, required bool dataCollected, required int durationInSeconds, required Map<Severity, int> findingCounts, required String name, required List<AssessmentRunNotification> notifications, required List<String> rulesPackageArns, required AssessmentRunState state, required DateTime stateChangedAt, required List<AssessmentRunStateChange> stateChanges, required List<Attribute> userAttributesForFindings, DateTime? completedAt, DateTime? startedAt})
AssessmentRun.fromJson(Map<String, dynamic> json)
factory

Properties

arn String
The ARN of the assessment run.
final
assessmentTemplateArn String
The ARN of the assessment template that is associated with the assessment run.
final
completedAt DateTime?
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
final
createdAt DateTime
The time when StartAssessmentRun was called.
final
dataCollected bool
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
final
durationInSeconds int
The duration of the assessment run.
final
findingCounts Map<Severity, int>
Provides a total count of generated findings per severity.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The auto-generated name for the assessment run.
final
notifications List<AssessmentRunNotification>
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
final
rulesPackageArns List<String>
The rules packages selected for the assessment run.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt DateTime?
The time when StartAssessmentRun was called.
final
state AssessmentRunState
The state of the assessment run.
final
stateChangedAt DateTime
The last time when the assessment run's state changed.
final
stateChanges List<AssessmentRunStateChange>
A list of the assessment run state changes.
final
userAttributesForFindings List<Attribute>
The user-defined attributes that are assigned to every generated finding.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited