blib/lib/Paws/Inspector/Finding.pm untested

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