openc2lib.types.data
OpenC2 data types
Definition of the data types in the OpenC2 DataModels (Sec. 3.4.2). The naming strictly follows the definition of the Language Specification as close as possible. The relevant exception is represented by hyphens that are always dropped.
1""" OpenC2 data types 2 3 Definition of the data types in the OpenC2 DataModels (Sec. 3.4.2). 4 The naming strictly follows the definition of the Language Specification 5 as close as possible. The relevant exception is represented by hyphens 6 that are always dropped. 7""" 8 9import aenum 10import dataclasses 11 12 13from openc2lib.types.data.ipv4_addr import IPv4Addr 14from openc2lib.types.data.l4_protocol import L4Protocol 15from openc2lib.types.data.datetime import DateTime 16from openc2lib.types.data.duration import Duration 17from openc2lib.types.data.version import Version 18from openc2lib.types.data.feature import Feature 19from openc2lib.types.data.nsid import Nsid 20from openc2lib.types.data.response_type import ResponseType 21from openc2lib.types.data.target_enum import TargetEnum 22from openc2lib.types.data.action_targets import ActionTargets 23from openc2lib.types.data.action_arguments import ActionArguments 24from openc2lib.types.data.payload import Payload 25from openc2lib.types.data.hashes import Hashes 26from openc2lib.types.data.uri import URI 27from openc2lib.types.data.hostname import Hostname 28from openc2lib.types.data.idn_hostname import IDNHostname 29from openc2lib.types.data.command_id import CommandID 30 31import openc2lib.types.data.mime_types 32