NAME
STIX::ObservedData - STIX Domain Object (SDO) - Observed Data
SYNOPSIS
use STIX::ObservedData;
my $observed_data = STIX::ObservedData->new();
DESCRIPTION
Observed data conveys information that was observed on systems and networks, such as log data or network traffic, using the Cyber Observable specification.
METHODS
STIX::ObservedData inherits all methods from STIX::Common::Properties and implements the following new ones.
- STIX::ObservedData->new(%properties)
-
Create a new instance of STIX::ObservedData.
- $observed_data->first_observed
-
The beginning of the time window that the data was observed during.
- $observed_data->id
- $observed_data->last_observed
-
The end of the time window that the data was observed during.
- $observed_data->number_observed
-
The number of times the data represented in the objects property was observed. This MUST be an integer between 1 and 999,999,999 inclusive.
- $observed_data->object_refs
-
A list of SCOs and SROs representing the observation.
- $observed_data->objects
-
A dictionary of Cyber Observable Objects that describes the single 'fact' that was observed.
- $observed_data->type
-
The type of this object, which MUST be the literal
observed-data
.
HELPERS
- $observed_data->TO_JSON
-
Encode the object in JSON.
- $observed_data->to_hash
-
Return the object HASH.
- $observed_data->to_string
-
Encode the object in JSON.
- $observed_data->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.