NAME
STIX::Observable::IPv4Addr - STIX Cyber-observable Object (SCO) - IPv4 Address
SYNOPSIS
use STIX::Observable::IPv4Addr;
my $ipv4_addr = STIX::Observable::IPv4Addr->new();
DESCRIPTION
The IPv4 Address Object represents one or more IPv4 addresses expressed using CIDR notation.
METHODS
STIX::Observable::IPv4Addr inherits all methods from STIX::Observable and implements the following new ones.
- STIX::Observable::IPv4Addr->new(%properties)
-
Create a new instance of STIX::Observable::IPv4Addr.
- $ipv4_addr->belongs_to_refs
-
Specifies a reference to one or more autonomous systems (AS) that the IPv4 address belongs to.
- $ipv4_addr->id
- $ipv4_addr->resolves_to_refs
-
Specifies a list of references to one or more Layer 2 Media Access Control (MAC) addresses that the IPv4 address resolves to.
- $ipv4_addr->type
-
The value of this property MUST be
ipv4-addr
. - $ipv4_addr->value
-
Specifies one or more IPv4 addresses expressed using CIDR notation.
HELPERS
- $ipv4_addr->TO_JSON
-
Encode the object in JSON.
- $ipv4_addr->to_hash
-
Return the object HASH.
- $ipv4_addr->to_string
-
Encode the object in JSON.
- $ipv4_addr->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.