(is => 'rw', isa => Str);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{lowerBound} = $self->lower_bound if $self->lower_bound;
$json->{upperBound} = $self->upper_bound
if $self->upper_bound;
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Component::ConfidenceInterval - Confidence Interval
=head1 SYNOPSIS
SBOM::CycloneDX::Component::C
']]);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{type} = $self->type if $self->type;
$json->{diff} = $self->diff if $self->diff;
$json->{resolves} =
$self->resolves if @{$self->resolves};
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Component::Patch - Patch
=head1 SYNOPSIS
SBOM::CycloneDX::Component::Patch->new(
=> 'rw', isa => Str);
sub TO_JSON {
my $self = shift;
my $json = {name => $self->name};
$json->{value} = $self->value if $self->value;
return $json;
}
1;
=encoding utf-8
=hea
', isa => HashRef);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{'bom-ref'} = $self->bom_ref if $self->bom_ref;
$json->{target} = $
$json->{predicate} = $self->predicate if $self->predicate;
$json->{mitigationStrategies} = $self->mitigation_strategies if @{$self->mitigation_strategies};
$json->{r
$json->{evidence} = $self->evidence if @{$self->evidence};
$json->{counterEvidence} = $self->counter_evidence if @{$self->counter_evidence};
$json->{ext
loneDX::List->new }
);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{organizations} = $self->organizations if @{$self->organizations};
$json->{components} = $self->comp
onents if @{$self->components};
$json->{services} = $self->services if @{$self->services};
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Declarations::Targ
th your layout(s) before
configuring them: C<i3-msg "workspace foo; append_layout /path/to/layout.json">
You can store your layouts in C<$HOME/.config/i3>, or put them elsewhere and
configure a path
figure them in C<wod.conf>:
workspace:
dev:
layout: dev.json
group:
work:
layout: dev-work.json
personal:
And as you see, you can override a layout for a
orkspace:
dev:
layout: dev.json
group:
work:
And to make a workspace available in all groups:
workspace:
dev:
layout: dev.json
group:
all:
To have
neDX::List->new });
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{score} = $self->score if $self->score;
$json->{rationale} = $s
onale if $self->rationale;
$json->{mitigationStrategies} = $self->mitigation_strategies if @{$self->mitigation_strategies};
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBO
::ExternalReference']);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{name} = $self->name if $self->name;
$json->{role} = $self->r
self->role;
$json->{signature} = $self->signature if $self->signature;
$json->{organization} = $self->organization if $self->organization;
$json->{externalRefer
ence} = $self->external_reference if $self->external_reference;
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Declarations::Signatory - Signatory
=head1 SYNOPSIS
SBOM
:Attachment']]);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{reproductionSteps} = $self->reproduction_steps if $self->reproduction_steps;
$json->{environment} =
nvironment if $self->environment;
$json->{supportingMaterial} = $self->supporting_material if @{$self->supporting_material};
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::
JSON {
my $self = shift;
my $json = {};
$json->{name} = $self->name if $self->name;
$json->{contents} = $self->contents if $self->contents;
$json
sification;
$json->{sensitiveData} = $self->sensitive_data if @{$self->sensitive_data};
$json->{governance} = $self->governance if $self->governance;
return $json;
}
1;
=encod
_JSON {
my $self = shift;
my $json = {};
$json->{statement} = $self->statement if $self->statement;
$json->{signatories} = $self->signatories if @{$self->signatories};
$json
->{signature} = $self->signature if $self->signature;
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Declarations::Affirmation - Affirmation
=head1 SYNOPSIS
SBOM::
an
organization to assert validity of this document.
=item C<signature>, Enveloped signature in JSON Signature Format (JSF)
(L<https://cyberphone.github.io/doc/security/jsf.html>).
=item C<statemen
X::List->new }
);
sub TO_JSON {
my $self = shift;
my $json = {ref => $self->ref};
$json->{versions} = $self->versions if @{$self->versions};
return $json;
}
1;
=encoding utf-8
[HashRef]);
sub TO_JSON {
my $self = shift;
my $json = {name => $self->name};
$json->{'bom-ref'} = $self->bom_ref if $self->bom_ref;
$json->{provider}
lf->provider;
$json->{group} = $self->group if $self->group;
$json->{version} = $self->version if $self->version;
$json->{description}
iption;
$json->{endpoints} = $self->endpoints if @{$self->endpoints};
$json->{authenticated} = $self->authenticated if $self->authenticated;
$json->{'x-trust-
_JSON {
my $self = shift;
my $json = {};
$json->{'bom-ref'} = $self->bom_ref if $self->bom_ref;
$json->{thirdParty} = $self->third_party if $self->third_party;
$json-
>{organization} = $self->organization if $self->organization;
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Declarations::Assessor - Assessor
=head1 SYNOPSIS
SBOM::Cy
rations::Confidence']);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{requirement} = $self->requirement if $self->requirement;
$json->{claims} = $self->claims
$self->claims};
$json->{counterClaims} = $self->counter_claims if @{$self->counter_claims};
$json->{conformance} = $self->conformance if $self->conformance;
$json->{confidence} = $
self->confidence if $self->confidence;
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Declarations::Map - Map
=head1 SYNOPSIS
SBOM::CycloneDX::Declarations::Map->n
TO_JSON {
my $self = shift;
my $json = {};
$json->{attachment} = $self->attachment if $self->attachment;
$json->{url} = $self->url if $self->url;
return $json;
s => 'rw', isa => HashRef);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{'bom-ref'} = $self->bom_ref if $self->bom_ref;
$json->{propertyName} = $self->property_n
if $self->description;
$json->{data} = $self->data if @{$self->data};
$json->{created} = $self->created if $self->created;
$json->{expires} = $self->expi
if $self->expires;
$json->{author} = $self->author if $self->author;
$json->{reviewer} = $self->reviewer if $self->reviewer;
$json->{signature} = $self->sign
b TO_JSON {
my $self = shift;
my $json = {};
$json->{score} = $self->score if $self->score;
$json->{rationale} = $self->rationale if $self->rationale;
return $json;
}
ble::PgJSON;
use Apache::Session::Browseable::Store::Patroni;
use Apache::Session::Generate::SHA256;
use Apache::Session::Serialize::JSON;
our @ISA = qw(Apache::Session::Browseable::PgJSON);
our
e;
$self->{serialize} = \&Apache::Session::Serialize::JSON::serialize;
$self->{unserialize} = \&Apache::Session::Serialize::JSON::unserialize;
return $self;
}
1;
__END__
=head1 NAME
t
for L<Apache::Session::Browseable::PgJSON>
=head1 SYNOPSIS
CREATE UNLOGGED TABLE sessions (
id varchar(64) not null primary key,
a_session jsonb,
);
Optionally, add indexes on som
loneDX::List->new }
);
sub TO_JSON {
my $self = shift;
my $json = {};
$json->{organizations} = $self->organizations if @{$self->organizations};
$json->{individuals} = $self->indi
viduals if @{$self->individuals};
return $json;
}
1;
=encoding utf-8
=head1 NAME
SBOM::CycloneDX::Vulnerability::Credits - Credits
=head1 SYNOPSIS
SBOM::CycloneDX::Vulnerability::Cre