line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Inspector; |
2
|
1
|
|
|
1
|
|
1286
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
3
|
|
|
|
|
|
|
sub service { 'inspector' } |
4
|
|
|
|
|
|
|
sub version { '2016-02-16' } |
5
|
|
|
|
|
|
|
sub target_prefix { 'InspectorService' } |
6
|
|
|
|
|
|
|
sub json_version { "1.1" } |
7
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
8
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
9
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
10
|
|
|
|
|
|
|
}); |
11
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
12
|
|
|
|
|
|
|
] }); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub AddAttributesToFindings { |
18
|
|
|
|
|
|
|
my $self = shift; |
19
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::AddAttributesToFindings', @_); |
20
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
sub CreateAssessmentTarget { |
23
|
|
|
|
|
|
|
my $self = shift; |
24
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::CreateAssessmentTarget', @_); |
25
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
sub CreateAssessmentTemplate { |
28
|
|
|
|
|
|
|
my $self = shift; |
29
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::CreateAssessmentTemplate', @_); |
30
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
sub CreateResourceGroup { |
33
|
|
|
|
|
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::CreateResourceGroup', @_); |
35
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
sub DeleteAssessmentRun { |
38
|
|
|
|
|
|
|
my $self = shift; |
39
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DeleteAssessmentRun', @_); |
40
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
sub DeleteAssessmentTarget { |
43
|
|
|
|
|
|
|
my $self = shift; |
44
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DeleteAssessmentTarget', @_); |
45
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
sub DeleteAssessmentTemplate { |
48
|
|
|
|
|
|
|
my $self = shift; |
49
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DeleteAssessmentTemplate', @_); |
50
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
sub DescribeAssessmentRuns { |
53
|
|
|
|
|
|
|
my $self = shift; |
54
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeAssessmentRuns', @_); |
55
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
sub DescribeAssessmentTargets { |
58
|
|
|
|
|
|
|
my $self = shift; |
59
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeAssessmentTargets', @_); |
60
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
sub DescribeAssessmentTemplates { |
63
|
|
|
|
|
|
|
my $self = shift; |
64
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeAssessmentTemplates', @_); |
65
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
sub DescribeCrossAccountAccessRole { |
68
|
|
|
|
|
|
|
my $self = shift; |
69
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeCrossAccountAccessRole', @_); |
70
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
sub DescribeFindings { |
73
|
|
|
|
|
|
|
my $self = shift; |
74
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeFindings', @_); |
75
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
sub DescribeResourceGroups { |
78
|
|
|
|
|
|
|
my $self = shift; |
79
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeResourceGroups', @_); |
80
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
sub DescribeRulesPackages { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::DescribeRulesPackages', @_); |
85
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
sub GetAssessmentReport { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::GetAssessmentReport', @_); |
90
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
sub GetTelemetryMetadata { |
93
|
|
|
|
|
|
|
my $self = shift; |
94
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::GetTelemetryMetadata', @_); |
95
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
sub ListAssessmentRunAgents { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListAssessmentRunAgents', @_); |
100
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
sub ListAssessmentRuns { |
103
|
|
|
|
|
|
|
my $self = shift; |
104
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListAssessmentRuns', @_); |
105
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
sub ListAssessmentTargets { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListAssessmentTargets', @_); |
110
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
sub ListAssessmentTemplates { |
113
|
|
|
|
|
|
|
my $self = shift; |
114
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListAssessmentTemplates', @_); |
115
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
sub ListEventSubscriptions { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListEventSubscriptions', @_); |
120
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
sub ListFindings { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListFindings', @_); |
125
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
sub ListRulesPackages { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListRulesPackages', @_); |
130
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
sub ListTagsForResource { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::ListTagsForResource', @_); |
135
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
sub PreviewAgents { |
138
|
|
|
|
|
|
|
my $self = shift; |
139
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::PreviewAgents', @_); |
140
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
sub RegisterCrossAccountAccessRole { |
143
|
|
|
|
|
|
|
my $self = shift; |
144
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::RegisterCrossAccountAccessRole', @_); |
145
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
sub RemoveAttributesFromFindings { |
148
|
|
|
|
|
|
|
my $self = shift; |
149
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::RemoveAttributesFromFindings', @_); |
150
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
sub SetTagsForResource { |
153
|
|
|
|
|
|
|
my $self = shift; |
154
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::SetTagsForResource', @_); |
155
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
sub StartAssessmentRun { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::StartAssessmentRun', @_); |
160
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
sub StopAssessmentRun { |
163
|
|
|
|
|
|
|
my $self = shift; |
164
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::StopAssessmentRun', @_); |
165
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
sub SubscribeToEvent { |
168
|
|
|
|
|
|
|
my $self = shift; |
169
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::SubscribeToEvent', @_); |
170
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
171
|
|
|
|
|
|
|
} |
172
|
|
|
|
|
|
|
sub UnsubscribeFromEvent { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::UnsubscribeFromEvent', @_); |
175
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
sub UpdateAssessmentTarget { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
my $call_object = $self->new_with_coercions('Paws::Inspector::UpdateAssessmentTarget', @_); |
180
|
|
|
|
|
|
|
return $self->caller->do_call($self, $call_object); |
181
|
|
|
|
|
|
|
} |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
sub operations { qw/AddAttributesToFindings CreateAssessmentTarget CreateAssessmentTemplate CreateResourceGroup DeleteAssessmentRun DeleteAssessmentTarget DeleteAssessmentTemplate DescribeAssessmentRuns DescribeAssessmentTargets DescribeAssessmentTemplates DescribeCrossAccountAccessRole DescribeFindings DescribeResourceGroups DescribeRulesPackages GetAssessmentReport GetTelemetryMetadata ListAssessmentRunAgents ListAssessmentRuns ListAssessmentTargets ListAssessmentTemplates ListEventSubscriptions ListFindings ListRulesPackages ListTagsForResource PreviewAgents RegisterCrossAccountAccessRole RemoveAttributesFromFindings SetTagsForResource StartAssessmentRun StopAssessmentRun SubscribeToEvent UnsubscribeFromEvent UpdateAssessmentTarget / } |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
1; |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
### main pod documentation begin ### |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head1 NAME |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Paws::Inspector - Perl Interface to AWS Amazon Inspector |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head1 SYNOPSIS |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
use Paws; |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
my $obj = Paws->service('Inspector'); |
200
|
|
|
|
|
|
|
my $res = $obj->Method( |
201
|
|
|
|
|
|
|
Arg1 => $val1, |
202
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
203
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
204
|
|
|
|
|
|
|
# of the arguments type |
205
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
206
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
207
|
|
|
|
|
|
|
# the constructor of the arguments type |
208
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
209
|
|
|
|
|
|
|
); |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=head1 DESCRIPTION |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
Amazon Inspector |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Amazon Inspector enables you to analyze the behavior of your AWS |
216
|
|
|
|
|
|
|
resources and to identify potential security issues. For more |
217
|
|
|
|
|
|
|
information, see Amazon Inspector User Guide. |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=head1 METHODS |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=head2 AddAttributesToFindings(Attributes => ArrayRef[L<Paws::Inspector::Attribute>], FindingArns => ArrayRef[Str|Undef]) |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::AddAttributesToFindings> |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::AddAttributesToFindingsResponse> instance |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Assigns attributes (key and value pairs) to the findings that are |
228
|
|
|
|
|
|
|
specified by the ARNs of the findings. |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=head2 CreateAssessmentTarget(AssessmentTargetName => Str, ResourceGroupArn => Str) |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::CreateAssessmentTarget> |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::CreateAssessmentTargetResponse> instance |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
Creates a new assessment target using the ARN of the resource group |
238
|
|
|
|
|
|
|
that is generated by CreateResourceGroup. You can create up to 50 |
239
|
|
|
|
|
|
|
assessment targets per AWS account. You can run up to 500 concurrent |
240
|
|
|
|
|
|
|
agents per AWS account. For more information, see Amazon Inspector |
241
|
|
|
|
|
|
|
Assessment Targets. |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=head2 CreateAssessmentTemplate(AssessmentTargetArn => Str, AssessmentTemplateName => Str, DurationInSeconds => Int, RulesPackageArns => ArrayRef[Str|Undef], [UserAttributesForFindings => ArrayRef[L<Paws::Inspector::Attribute>]]) |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::CreateAssessmentTemplate> |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::CreateAssessmentTemplateResponse> instance |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Creates an assessment template for the assessment target that is |
251
|
|
|
|
|
|
|
specified by the ARN of the assessment target. |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
=head2 CreateResourceGroup(ResourceGroupTags => ArrayRef[L<Paws::Inspector::ResourceGroupTag>]) |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::CreateResourceGroup> |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::CreateResourceGroupResponse> instance |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
Creates a resource group using the specified set of tags (key and value |
261
|
|
|
|
|
|
|
pairs) that are used to select the EC2 instances to be included in an |
262
|
|
|
|
|
|
|
Amazon Inspector assessment target. The created resource group is then |
263
|
|
|
|
|
|
|
used to create an Amazon Inspector assessment target. For more |
264
|
|
|
|
|
|
|
information, see CreateAssessmentTarget. |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
=head2 DeleteAssessmentRun(AssessmentRunArn => Str) |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DeleteAssessmentRun> |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
Returns: nothing |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
Deletes the assessment run that is specified by the ARN of the |
274
|
|
|
|
|
|
|
assessment run. |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
=head2 DeleteAssessmentTarget(AssessmentTargetArn => Str) |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DeleteAssessmentTarget> |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
Returns: nothing |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
Deletes the assessment target that is specified by the ARN of the |
284
|
|
|
|
|
|
|
assessment target. |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
=head2 DeleteAssessmentTemplate(AssessmentTemplateArn => Str) |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DeleteAssessmentTemplate> |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
Returns: nothing |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
Deletes the assessment template that is specified by the ARN of the |
294
|
|
|
|
|
|
|
assessment template. |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
=head2 DescribeAssessmentRuns(AssessmentRunArns => ArrayRef[Str|Undef]) |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeAssessmentRuns> |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeAssessmentRunsResponse> instance |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
Describes the assessment runs that are specified by the ARNs of the |
304
|
|
|
|
|
|
|
assessment runs. |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=head2 DescribeAssessmentTargets(AssessmentTargetArns => ArrayRef[Str|Undef]) |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeAssessmentTargets> |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeAssessmentTargetsResponse> instance |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
Describes the assessment targets that are specified by the ARNs of the |
314
|
|
|
|
|
|
|
assessment targets. |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=head2 DescribeAssessmentTemplates(AssessmentTemplateArns => ArrayRef[Str|Undef]) |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeAssessmentTemplates> |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeAssessmentTemplatesResponse> instance |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
Describes the assessment templates that are specified by the ARNs of |
324
|
|
|
|
|
|
|
the assessment templates. |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
=head2 DescribeCrossAccountAccessRole( => ) |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeCrossAccountAccessRole> |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeCrossAccountAccessRoleResponse> instance |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
Describes the IAM role that enables Amazon Inspector to access your AWS |
334
|
|
|
|
|
|
|
account. |
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
=head2 DescribeFindings(FindingArns => ArrayRef[Str|Undef], [Locale => Str]) |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeFindings> |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeFindingsResponse> instance |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
Describes the findings that are specified by the ARNs of the findings. |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
=head2 DescribeResourceGroups(ResourceGroupArns => ArrayRef[Str|Undef]) |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeResourceGroups> |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeResourceGroupsResponse> instance |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
Describes the resource groups that are specified by the ARNs of the |
353
|
|
|
|
|
|
|
resource groups. |
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=head2 DescribeRulesPackages(RulesPackageArns => ArrayRef[Str|Undef], [Locale => Str]) |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::DescribeRulesPackages> |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::DescribeRulesPackagesResponse> instance |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
Describes the rules packages that are specified by the ARNs of the |
363
|
|
|
|
|
|
|
rules packages. |
364
|
|
|
|
|
|
|
|
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
=head2 GetAssessmentReport(AssessmentRunArn => Str, ReportFileFormat => Str, ReportType => Str) |
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::GetAssessmentReport> |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::GetAssessmentReportResponse> instance |
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
Produces an assessment report that includes detailed and comprehensive |
373
|
|
|
|
|
|
|
results of a specified assessment run. |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
=head2 GetTelemetryMetadata(AssessmentRunArn => Str) |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::GetTelemetryMetadata> |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::GetTelemetryMetadataResponse> instance |
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
Information about the data that is collected for the specified |
383
|
|
|
|
|
|
|
assessment run. |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
=head2 ListAssessmentRunAgents(AssessmentRunArn => Str, [Filter => L<Paws::Inspector::AgentFilter>, MaxResults => Int, NextToken => Str]) |
387
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListAssessmentRunAgents> |
389
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListAssessmentRunAgentsResponse> instance |
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
Lists the agents of the assessment runs that are specified by the ARNs |
393
|
|
|
|
|
|
|
of the assessment runs. |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
=head2 ListAssessmentRuns([AssessmentTemplateArns => ArrayRef[Str|Undef], Filter => L<Paws::Inspector::AssessmentRunFilter>, MaxResults => Int, NextToken => Str]) |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListAssessmentRuns> |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListAssessmentRunsResponse> instance |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
Lists the assessment runs that correspond to the assessment templates |
403
|
|
|
|
|
|
|
that are specified by the ARNs of the assessment templates. |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
=head2 ListAssessmentTargets([Filter => L<Paws::Inspector::AssessmentTargetFilter>, MaxResults => Int, NextToken => Str]) |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListAssessmentTargets> |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListAssessmentTargetsResponse> instance |
411
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Lists the ARNs of the assessment targets within this AWS account. For |
413
|
|
|
|
|
|
|
more information about assessment targets, see Amazon Inspector |
414
|
|
|
|
|
|
|
Assessment Targets. |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
=head2 ListAssessmentTemplates([AssessmentTargetArns => ArrayRef[Str|Undef], Filter => L<Paws::Inspector::AssessmentTemplateFilter>, MaxResults => Int, NextToken => Str]) |
418
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListAssessmentTemplates> |
420
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListAssessmentTemplatesResponse> instance |
422
|
|
|
|
|
|
|
|
423
|
|
|
|
|
|
|
Lists the assessment templates that correspond to the assessment |
424
|
|
|
|
|
|
|
targets that are specified by the ARNs of the assessment targets. |
425
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
=head2 ListEventSubscriptions([MaxResults => Int, NextToken => Str, ResourceArn => Str]) |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListEventSubscriptions> |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListEventSubscriptionsResponse> instance |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
Lists all the event subscriptions for the assessment template that is |
434
|
|
|
|
|
|
|
specified by the ARN of the assessment template. For more information, |
435
|
|
|
|
|
|
|
see SubscribeToEvent and UnsubscribeFromEvent. |
436
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
=head2 ListFindings([AssessmentRunArns => ArrayRef[Str|Undef], Filter => L<Paws::Inspector::FindingFilter>, MaxResults => Int, NextToken => Str]) |
439
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListFindings> |
441
|
|
|
|
|
|
|
|
442
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListFindingsResponse> instance |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
Lists findings that are generated by the assessment runs that are |
445
|
|
|
|
|
|
|
specified by the ARNs of the assessment runs. |
446
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
=head2 ListRulesPackages([MaxResults => Int, NextToken => Str]) |
449
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListRulesPackages> |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListRulesPackagesResponse> instance |
453
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
Lists all available Amazon Inspector rules packages. |
455
|
|
|
|
|
|
|
|
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
=head2 ListTagsForResource(ResourceArn => Str) |
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::ListTagsForResource> |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::ListTagsForResourceResponse> instance |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
Lists all tags associated with an assessment template. |
464
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
|
466
|
|
|
|
|
|
|
=head2 PreviewAgents(PreviewAgentsArn => Str, [MaxResults => Int, NextToken => Str]) |
467
|
|
|
|
|
|
|
|
468
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::PreviewAgents> |
469
|
|
|
|
|
|
|
|
470
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::PreviewAgentsResponse> instance |
471
|
|
|
|
|
|
|
|
472
|
|
|
|
|
|
|
Previews the agents installed on the EC2 instances that are part of the |
473
|
|
|
|
|
|
|
specified assessment target. |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
=head2 RegisterCrossAccountAccessRole(RoleArn => Str) |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::RegisterCrossAccountAccessRole> |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
Returns: nothing |
481
|
|
|
|
|
|
|
|
482
|
|
|
|
|
|
|
Registers the IAM role that Amazon Inspector uses to list your EC2 |
483
|
|
|
|
|
|
|
instances at the start of the assessment run or when you call the |
484
|
|
|
|
|
|
|
PreviewAgents action. |
485
|
|
|
|
|
|
|
|
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
=head2 RemoveAttributesFromFindings(AttributeKeys => ArrayRef[Str|Undef], FindingArns => ArrayRef[Str|Undef]) |
488
|
|
|
|
|
|
|
|
489
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::RemoveAttributesFromFindings> |
490
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::RemoveAttributesFromFindingsResponse> instance |
492
|
|
|
|
|
|
|
|
493
|
|
|
|
|
|
|
Removes entire attributes (key and value pairs) from the findings that |
494
|
|
|
|
|
|
|
are specified by the ARNs of the findings where an attribute with the |
495
|
|
|
|
|
|
|
specified key exists. |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
|
498
|
|
|
|
|
|
|
=head2 SetTagsForResource(ResourceArn => Str, [Tags => ArrayRef[L<Paws::Inspector::Tag>]]) |
499
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::SetTagsForResource> |
501
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
Returns: nothing |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
Sets tags (key and value pairs) to the assessment template that is |
505
|
|
|
|
|
|
|
specified by the ARN of the assessment template. |
506
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
=head2 StartAssessmentRun(AssessmentTemplateArn => Str, [AssessmentRunName => Str]) |
509
|
|
|
|
|
|
|
|
510
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::StartAssessmentRun> |
511
|
|
|
|
|
|
|
|
512
|
|
|
|
|
|
|
Returns: a L<Paws::Inspector::StartAssessmentRunResponse> instance |
513
|
|
|
|
|
|
|
|
514
|
|
|
|
|
|
|
Starts the assessment run specified by the ARN of the assessment |
515
|
|
|
|
|
|
|
template. For this API to function properly, you must not exceed the |
516
|
|
|
|
|
|
|
limit of running up to 500 concurrent agents per AWS account. |
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
=head2 StopAssessmentRun(AssessmentRunArn => Str, [StopAction => Str]) |
520
|
|
|
|
|
|
|
|
521
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::StopAssessmentRun> |
522
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
Returns: nothing |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
Stops the assessment run that is specified by the ARN of the assessment |
526
|
|
|
|
|
|
|
run. |
527
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
=head2 SubscribeToEvent(Event => Str, ResourceArn => Str, TopicArn => Str) |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::SubscribeToEvent> |
532
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
Returns: nothing |
534
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
Enables the process of sending Amazon Simple Notification Service (SNS) |
536
|
|
|
|
|
|
|
notifications about a specified event to a specified SNS topic. |
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
|
539
|
|
|
|
|
|
|
=head2 UnsubscribeFromEvent(Event => Str, ResourceArn => Str, TopicArn => Str) |
540
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::UnsubscribeFromEvent> |
542
|
|
|
|
|
|
|
|
543
|
|
|
|
|
|
|
Returns: nothing |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
Disables the process of sending Amazon Simple Notification Service |
546
|
|
|
|
|
|
|
(SNS) notifications about a specified event to a specified SNS topic. |
547
|
|
|
|
|
|
|
|
548
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
=head2 UpdateAssessmentTarget(AssessmentTargetArn => Str, AssessmentTargetName => Str, ResourceGroupArn => Str) |
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::Inspector::UpdateAssessmentTarget> |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
Returns: nothing |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
Updates the assessment target that is specified by the ARN of the |
556
|
|
|
|
|
|
|
assessment target. |
557
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
|
561
|
|
|
|
|
|
|
=head1 PAGINATORS |
562
|
|
|
|
|
|
|
|
563
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
564
|
|
|
|
|
|
|
|
565
|
|
|
|
|
|
|
|
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
=head1 SEE ALSO |
569
|
|
|
|
|
|
|
|
570
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
571
|
|
|
|
|
|
|
|
572
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
575
|
|
|
|
|
|
|
|
576
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
577
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
=cut |
579
|
|
|
|
|
|
|
|