File Coverage

blib/lib/Paws/Inspector/Finding.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::Finding;
2 1     1   291 use Moose;
  1         3  
  1         6  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1);
4             has AssetAttributes => (is => 'ro', isa => 'Paws::Inspector::AssetAttributes', request_name => 'assetAttributes', traits => ['NameInRequest']);
5             has AssetType => (is => 'ro', isa => 'Str', request_name => 'assetType', traits => ['NameInRequest']);
6             has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Attribute]', request_name => 'attributes', traits => ['NameInRequest'], required => 1);
7             has Confidence => (is => 'ro', isa => 'Int', request_name => 'confidence', traits => ['NameInRequest']);
8             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1);
9             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
10             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
11             has IndicatorOfCompromise => (is => 'ro', isa => 'Bool', request_name => 'indicatorOfCompromise', traits => ['NameInRequest']);
12             has NumericSeverity => (is => 'ro', isa => 'Num', request_name => 'numericSeverity', traits => ['NameInRequest']);
13             has Recommendation => (is => 'ro', isa => 'Str', request_name => 'recommendation', traits => ['NameInRequest']);
14             has SchemaVersion => (is => 'ro', isa => 'Int', request_name => 'schemaVersion', traits => ['NameInRequest']);
15             has Service => (is => 'ro', isa => 'Str', request_name => 'service', traits => ['NameInRequest']);
16             has ServiceAttributes => (is => 'ro', isa => 'Paws::Inspector::InspectorServiceAttributes', request_name => 'serviceAttributes', traits => ['NameInRequest']);
17             has Severity => (is => 'ro', isa => 'Str', request_name => 'severity', traits => ['NameInRequest']);
18             has Title => (is => 'ro', isa => 'Str', request_name => 'title', traits => ['NameInRequest']);
19             has UpdatedAt => (is => 'ro', isa => 'Str', request_name => 'updatedAt', traits => ['NameInRequest'], required => 1);
20             has UserAttributes => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Attribute]', request_name => 'userAttributes', traits => ['NameInRequest'], required => 1);
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::Inspector::Finding
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::Inspector::Finding object:
39              
40             $service_obj->Method(Att1 => { Arn => $value, ..., UserAttributes => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::Finding object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->Arn
48              
49             =head1 DESCRIPTION
50              
51             Contains information about an Amazon Inspector finding. This data type
52             is used as the response element in the DescribeFindings action.
53              
54             =head1 ATTRIBUTES
55              
56              
57             =head2 B<REQUIRED> Arn => Str
58              
59             The ARN that specifies the finding.
60              
61              
62             =head2 AssetAttributes => L<Paws::Inspector::AssetAttributes>
63              
64             A collection of attributes of the host from which the finding is
65             generated.
66              
67              
68             =head2 AssetType => Str
69              
70             The type of the host from which the finding is generated.
71              
72              
73             =head2 B<REQUIRED> Attributes => ArrayRef[L<Paws::Inspector::Attribute>]
74              
75             The system-defined attributes for the finding.
76              
77              
78             =head2 Confidence => Int
79              
80             This data element is currently not used.
81              
82              
83             =head2 B<REQUIRED> CreatedAt => Str
84              
85             The time when the finding was generated.
86              
87              
88             =head2 Description => Str
89              
90             The description of the finding.
91              
92              
93             =head2 Id => Str
94              
95             The ID of the finding.
96              
97              
98             =head2 IndicatorOfCompromise => Bool
99              
100             This data element is currently not used.
101              
102              
103             =head2 NumericSeverity => Num
104              
105             The numeric value of the finding severity.
106              
107              
108             =head2 Recommendation => Str
109              
110             The recommendation for the finding.
111              
112              
113             =head2 SchemaVersion => Int
114              
115             The schema version of this data type.
116              
117              
118             =head2 Service => Str
119              
120             The data element is set to "Inspector".
121              
122              
123             =head2 ServiceAttributes => L<Paws::Inspector::InspectorServiceAttributes>
124              
125             This data type is used in the Finding data type.
126              
127              
128             =head2 Severity => Str
129              
130             The finding severity. Values can be set to High, Medium, Low, and
131             Informational.
132              
133              
134             =head2 Title => Str
135              
136             The name of the finding.
137              
138              
139             =head2 B<REQUIRED> UpdatedAt => Str
140              
141             The time when AddAttributesToFindings is called.
142              
143              
144             =head2 B<REQUIRED> UserAttributes => ArrayRef[L<Paws::Inspector::Attribute>]
145              
146             The user-defined attributes that are assigned to the finding.
147              
148              
149              
150             =head1 SEE ALSO
151              
152             This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
153              
154             =head1 BUGS and CONTRIBUTIONS
155              
156             The source code is located here: https://github.com/pplu/aws-sdk-perl
157              
158             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
159              
160             =cut
161