CycloneDX/Enum/ImpactAnalysisState.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 96.6% 29 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CycloneDX/Enum/ImpactAnalysisJustification.pm ↑ Summary CycloneDX/Enum/LicenseType.pm »
1 package SBOM::CycloneDX::Enum::ImpactAnalysisState;
2  
3 16 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 16 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 16 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 16 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 16 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 16 our (@EXPORT_OK, %EXPORT_TAGS, %ENUM);
10  
11 16 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 16 %ENUM = (
14 RESOLVED => 'resolved',
15 RESOLVED_WITH_PEDIGREE => 'resolved_with_pedigree',
16 EXPLOITABLE => 'exploitable',
17 IN_TRIAGE => 'in_triage',
18 FALSE_POSITIVE => 'false_positive',
19 NOT_AFFECTED => 'not_affected',
20 );
21  
22 16 require constant;
23 16 constant->import(\%ENUM);
24  
25 16 @EXPORT_OK = sort keys %ENUM;
26 16 %EXPORT_TAGS = (all => \@EXPORT_OK);
27  
28 }
29  
30 2 ▶sub values { sort values %ENUM }
Subroutine values: called CC=1 SCAR=0.0
Pod undocumented
31  
32 16 1;
33  
34 =encoding utf-8
35  
36 =head1 NAME
37  
38 SBOM::CycloneDX::Enum::ImpactAnalysisState - Impact Analysis State
39  
40 =head1 SYNOPSIS
41  
42 use SBOM::CycloneDX::Enum qw(IMPACT_ANALYSIS_STATE);
43 say IMPACT_ANALYSIS_STATE->RESOLVED_WITH_PEDIGREE;
44  
45 use SBOM::CycloneDX::Enum::TlpCImpactAnalysisStatelassification qw(:all);
46 say EXPLOITABLE;
47  
48  
49 =head1 DESCRIPTION
50  
51 L<SBOM::CycloneDX::Enum::ImpactAnalysisState> is ENUM package used by L<SBOM::CycloneDX::Vulnerability::Analysis>.
52  
53 Declares the current state of an occurrence of a vulnerability, after
54 automated or manual analysis.
55  
56 =head1 CONSTANTS
57  
58 =over
59  
60 =item * C<RESOLVED>, The vulnerability has been remediated.
61  
62 =item * C<RESOLVED_WITH_PEDIGREE>, The vulnerability has been remediated
63 and evidence of the changes are provided in the affected components
64 pedigree containing verifiable commit history and/or diff(s).
65  
66 =item * C<EXPLOITABLE>, The vulnerability may be directly or indirectly
67 exploitable.
68  
69 =item * C<IN_TRIAGE>, The vulnerability is being investigated.
70  
71 =item * C<FALSE_POSITIVE>, The vulnerability is not specific to the
72 component or service and was falsely identified or associated.
73  
74 =item * C<NOT_AFFECTED>, The component or service is not affected by the
75 vulnerability. Justification should be specified for all not_affected
76 cases.
77  
78 =back
79  
80 =head1 SUPPORT
81  
82 =head2 Bugs / Feature Requests
83  
84 Please report any bugs or feature requests through the issue tracker
85 at L<https://github.com/giterlizzi/perl-SBOM-CycloneDX/issues>.
86 You will be notified automatically of any progress on your issue.
87  
88 =head2 Source Code
89  
90 This is open source software. The code repository is available for
91 public review and contribution under the terms of the license.
92  
93 L<https://github.com/giterlizzi/perl-SBOM-CycloneDX>
94  
95 git clone https://github.com/giterlizzi/perl-SBOM-CycloneDX.git
96  
97  
98 =head1 AUTHOR
99  
100 =over 4
101  
102 =item * Giuseppe Di Terlizzi <gdt@cpan.org>
103  
104 =back
105  
106  
107 =head1 LICENSE AND COPYRIGHT
108  
109 This software is copyright (c) 2025-2026 by Giuseppe Di Terlizzi.
110  
111 This is free software; you can redistribute it and/or modify it under
112 the same terms as the Perl 5 programming language system itself.
113  
114 =cut
« CycloneDX/Enum/ImpactAnalysisJustification.pm ↑ Summary CycloneDX/Enum/LicenseType.pm »