NAME

STIX::Common::MarkingDefinition - STIX Marking Definition

SYNOPSIS

use STIX::Common::MarkingDefinition;

my $marking_definition = STIX::Common::MarkingDefinition->new();

DESCRIPTION

The marking-definition object represents a specific marking.

METHODS

STIX::Common::MarkingDefinition inherits all methods from STIX::Object and implements the following new ones.

STIX::Common::MarkingDefinition->new(%properties)

Create a new instance of STIX::Common::MarkingDefinition.

$marking_definition->created

The created property represents the time at which the first version of this Marking Definition object was created.

$marking_definition->created_by_ref

The created_by_ref property specifies the ID of the identity object that describes the entity that created this Marking Definition.

$marking_definition->extensions

Specifies any extensions of the object, as a dictionary.

$marking_definition->external_references

A list of external references which refers to non-STIX information.

$marking_definition->granular_markings

The granular_markings property specifies a list of granular markings applied to this object.

$marking_definition->name

A name used to identify the Marking Definition.

$marking_definition->object_marking_refs

The object_marking_refs property specifies a list of IDs of marking-definition objects that apply to this Marking Definition.

$marking_definition->spec_version

The version of the STIX specification used to represent this object.

$marking_definition->type

The type of this object, which MUST be the literal marking-definition.

$marking_definition->definition

The definition property contains the marking object itself.

$marking_definition->definition_type

The definition_type property identifies the type of Marking Definition.

HELPERS

$marking_definition->TO_JSON

Helper for JSON encoders.

$marking_definition->to_hash

Return the object HASH.

$marking_definition->to_string

Encode the object in JSON.

$marking_definition->validate

Validate the object using JSON Schema (see STIX::Schema).

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/giterlizzi/perl-STIX/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/giterlizzi/perl-STIX

git clone https://github.com/giterlizzi/perl-STIX.git

AUTHOR

  • Giuseppe Di Terlizzi <gdt@cpan.org>

LICENSE AND COPYRIGHT

This software is copyright (c) 2024 by Giuseppe Di Terlizzi.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.