File Coverage

blib/lib/Paws/Inspector/AssessmentRun.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Inspector::AssessmentRun;
2 1     1   624 use Moose;
  1         4  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
4             has AssessmentTemplateArn => (is => 'ro', isa => 'Str', request_name => 'assessmentTemplateArn', traits => ['NameInRequest'], required => 1);
5             has CompletedAt => (is => 'ro', isa => 'Str', request_name => 'completedAt', traits => ['NameInRequest']);
6             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
7             has DataCollected => (is => 'ro', isa => 'Bool', request_name => 'dataCollected', traits => ['NameInRequest'], required => 1);
8             has DurationInSeconds => (is => 'ro', isa => 'Int', request_name => 'durationInSeconds', traits => ['NameInRequest'], required => 1);
9             has FindingCounts => (is => 'ro', isa => 'Paws::Inspector::AssessmentRunFindingCounts', request_name => 'findingCounts', traits => ['NameInRequest'], required => 1);
10             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
11             has Notifications => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::AssessmentRunNotification]', request_name => 'notifications', traits => ['NameInRequest'], required => 1);
12             has RulesPackageArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'rulesPackageArns', traits => ['NameInRequest'], required => 1);
13             has StartedAt => (is => 'ro', isa => 'Str', request_name => 'startedAt', traits => ['NameInRequest']);
14             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest'], required => 1);
15             has StateChangedAt => (is => 'ro', isa => 'Str', request_name => 'stateChangedAt', traits => ['NameInRequest'], required => 1);
16             has StateChanges => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::AssessmentRunStateChange]', request_name => 'stateChanges', traits => ['NameInRequest'], required => 1);
17             has UserAttributesForFindings => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Attribute]', request_name => 'userAttributesForFindings', traits => ['NameInRequest'], required => 1);
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::Inspector::AssessmentRun
25              
26             =head1 USAGE
27              
28             This class represents one of two things:
29              
30             =head3 Arguments in a call to a service
31              
32             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33             Each attribute should be used as a named argument in the calls that expect this type of object.
34              
35             As an example, if Att1 is expected to be a Paws::Inspector::AssessmentRun object:
36              
37             $service_obj->Method(Att1 => { Arn => $value, ..., UserAttributesForFindings => $value });
38              
39             =head3 Results returned from an API call
40              
41             Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::AssessmentRun object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->Arn
45              
46             =head1 DESCRIPTION
47              
48             A snapshot of an Amazon Inspector assessment run that contains the
49             findings of the assessment run .
50              
51             Used as the response element in the DescribeAssessmentRuns action.
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 B<REQUIRED> Arn => Str
57              
58             The ARN of the assessment run.
59              
60              
61             =head2 B<REQUIRED> AssessmentTemplateArn => Str
62              
63             The ARN of the assessment template that is associated with the
64             assessment run.
65              
66              
67             =head2 CompletedAt => Str
68              
69             The assessment run completion time that corresponds to the rules
70             packages evaluation completion time or failure.
71              
72              
73             =head2 B<REQUIRED> CreatedAt => Str
74              
75             The time when StartAssessmentRun was called.
76              
77              
78             =head2 B<REQUIRED> DataCollected => Bool
79              
80             A Boolean value (true or false) that specifies whether the process of
81             collecting data from the agents is completed.
82              
83              
84             =head2 B<REQUIRED> DurationInSeconds => Int
85              
86             The duration of the assessment run.
87              
88              
89             =head2 B<REQUIRED> FindingCounts => L<Paws::Inspector::AssessmentRunFindingCounts>
90              
91             Provides a total count of generated findings per severity.
92              
93              
94             =head2 B<REQUIRED> Name => Str
95              
96             The auto-generated name for the assessment run.
97              
98              
99             =head2 B<REQUIRED> Notifications => ArrayRef[L<Paws::Inspector::AssessmentRunNotification>]
100              
101             A list of notifications for the event subscriptions. A notification
102             about a particular generated finding is added to this list only once.
103              
104              
105             =head2 B<REQUIRED> RulesPackageArns => ArrayRef[Str|Undef]
106              
107             The rules packages selected for the assessment run.
108              
109              
110             =head2 StartedAt => Str
111              
112             The time when StartAssessmentRun was called.
113              
114              
115             =head2 B<REQUIRED> State => Str
116              
117             The state of the assessment run.
118              
119              
120             =head2 B<REQUIRED> StateChangedAt => Str
121              
122             The last time when the assessment run's state changed.
123              
124              
125             =head2 B<REQUIRED> StateChanges => ArrayRef[L<Paws::Inspector::AssessmentRunStateChange>]
126              
127             A list of the assessment run state changes.
128              
129              
130             =head2 B<REQUIRED> UserAttributesForFindings => ArrayRef[L<Paws::Inspector::Attribute>]
131              
132             The user-defined attributes that are assigned to every generated
133             finding.
134              
135              
136              
137             =head1 SEE ALSO
138              
139             This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
140              
141             =head1 BUGS and CONTRIBUTIONS
142              
143             The source code is located here: https://github.com/pplu/aws-sdk-perl
144              
145             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
146              
147             =cut
148