openc2lib.types.data.target_enum

 1from openc2lib.types.base import Enumerated
 2
 3class TargetEnum(Enumerated):
 4	""" OpenC2 Targets names
 5	
 6		The Language Specification defines a *Targets* subtypes only used in Sec. 3.4.2.1.
 7		The openc2lib uses this class to keep a record of all registered Target names, while
 8		the *Targets* type is never defined (it is build in an unnamed way to create the 
 9		`ActionTargets`.
10
11		This class is only expected to be used internally by the openc2lib.
12	"""
13	def __repr__(self):
14		return self.name
class TargetEnum(openc2lib.types.base.enumerated.Enumerated):
 4class TargetEnum(Enumerated):
 5	""" OpenC2 Targets names
 6	
 7		The Language Specification defines a *Targets* subtypes only used in Sec. 3.4.2.1.
 8		The openc2lib uses this class to keep a record of all registered Target names, while
 9		the *Targets* type is never defined (it is build in an unnamed way to create the 
10		`ActionTargets`.
11
12		This class is only expected to be used internally by the openc2lib.
13	"""
14	def __repr__(self):
15		return self.name

OpenC2 Targets names

The Language Specification defines a Targets subtypes only used in Sec. 3.4.2.1. The openc2lib uses this class to keep a record of all registered Target names, while the Targets type is never defined (it is build in an unnamed way to create the ActionTargets.

This class is only expected to be used internally by the openc2lib.

artifact
device
domain_name
email_addr
features
file
idn_domain_name
idn_email_addr
ipv4_net
ipv6_net
ipv4_connection
ipv6_connection
mac_addr
process
uri
iri
properties
slpf:rule_number
command
Inherited Members
openc2lib.types.base.enumerated.Enumerated
todict
fromdict
aenum._enum.Enum
name
value
values