NAME
STIX::Common::Properties - STIX Common Properties
SYNOPSIS
use STIX::Common::Properties;
my $object = STIX::Common::Properties->new();
DESCRIPTION
Common properties and behavior across all STIX Domain Objects and STIX Relationship Objects.
METHODS
STIX::Common::Properties inherits all methods from STIX::Object and implements the following new ones.
- STIX::Common::Properties->new(%properties)
-
Create a new instance of STIX::Common::Properties.
- $object->confidence
-
Identifies the confidence that the creator has in the correctness of their data.
- $object->created
-
The created property represents the time at which the first version of this object was created. The timstamp value MUST be precise to the nearest millisecond.
- $object->created_by_ref
-
The ID of the Source object that describes who created this object.
- $object->custom_properties
-
Additional custom properties (deprecated in STIX 2.1).
$object->custom_properties( x_acme_org_risk_score => 10, x_acme_org_scoring => { impact => 'high', probability => 'low' } );
- $object->extensions
-
Specifies any extensions of the object, as a dictionary.
- $object->external_references
-
A list of external references which refers to non-STIX information.
- $object->granular_markings
-
The set of granular markings that apply to this object.
- $object->id
- $object->labels
-
The labels property specifies a set of terms used to describe this object.
- $object->lang
-
Identifies the language of the text content in this object.
- $object->modified
-
The modified property represents the time that this particular version of the object was modified. The timstamp value MUST be precise to the nearest millisecond.
- $object->object_marking_refs
-
The list of marking-definition objects to be applied to this object.
- $object->revoked
-
The revoked property indicates whether the object has been revoked.
- $object->spec_version
-
The version of the STIX specification used to represent this object.
- $object->type
-
The type property identifies the type of STIX Object (SDO, Relationship Object, etc). The value of the type field MUST be one of the types defined by a STIX Object (e.g., indicator).
HELPERS
- $object->TO_JSON
-
Helper for JSON encoders.
- $object->to_hash
-
Return the object HASH.
- $object->to_string
-
Encode the object in JSON.
- $object->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.