From d5e6226c829db118d7af0f9a6f8933abe2a90df5 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Fri, 19 Feb 2021 23:27:41 -0500 Subject: [PATCH] update hyperlinks to STIX 2.1 CS 02 --- stix2/v21/bundle.py | 2 +- stix2/v21/common.py | 16 ++++----- stix2/v21/observables.py | 72 ++++++++++++++++++++-------------------- stix2/v21/sdo.py | 38 ++++++++++----------- stix2/v21/sro.py | 4 +-- 5 files changed, 66 insertions(+), 66 deletions(-) diff --git a/stix2/v21/bundle.py b/stix2/v21/bundle.py index 990dfc1..0d073ca 100644 --- a/stix2/v21/bundle.py +++ b/stix2/v21/bundle.py @@ -10,7 +10,7 @@ from .base import _STIXBase21 class Bundle(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'bundle' diff --git a/stix2/v21/common.py b/stix2/v21/common.py index df95911..12e70f2 100644 --- a/stix2/v21/common.py +++ b/stix2/v21/common.py @@ -18,7 +18,7 @@ from .base import _STIXBase21 class ExternalReference(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -52,7 +52,7 @@ class ExternalReference(_STIXBase21): class KillChainPhase(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -63,7 +63,7 @@ class KillChainPhase(_STIXBase21): class GranularMarking(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -79,7 +79,7 @@ class GranularMarking(_STIXBase21): class LanguageContent(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'language-content' @@ -107,7 +107,7 @@ class LanguageContent(_STIXBase21): class ExtensionDefinition(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'extension-definition' @@ -146,7 +146,7 @@ class ExtensionDefinition(_STIXBase21): class TLPMarking(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'tlp' @@ -157,7 +157,7 @@ class TLPMarking(_STIXBase21): class StatementMarking(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'statement' @@ -187,7 +187,7 @@ class MarkingProperty(Property): class MarkingDefinition(_STIXBase21, _MarkingsMixin): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'marking-definition' diff --git a/stix2/v21/observables.py b/stix2/v21/observables.py index a68e3d5..6fb218c 100644 --- a/stix2/v21/observables.py +++ b/stix2/v21/observables.py @@ -22,7 +22,7 @@ from .common import GranularMarking class Artifact(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'artifact' @@ -51,7 +51,7 @@ class Artifact(_Observable): class AutonomousSystem(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'autonomous-system' @@ -72,7 +72,7 @@ class AutonomousSystem(_Observable): class Directory(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'directory' @@ -97,7 +97,7 @@ class Directory(_Observable): class DomainName(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'domain-name' @@ -117,7 +117,7 @@ class DomainName(_Observable): class EmailAddress(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'email-addr' @@ -138,7 +138,7 @@ class EmailAddress(_Observable): class EmailMIMEComponent(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -155,7 +155,7 @@ class EmailMIMEComponent(_STIXBase21): class EmailMessage(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'email-message' @@ -195,7 +195,7 @@ class EmailMessage(_Observable): class ArchiveExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'archive-ext' @@ -207,7 +207,7 @@ class ArchiveExt(_Extension): class AlternateDataStream(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -219,7 +219,7 @@ class AlternateDataStream(_STIXBase21): class NTFSExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'ntfs-ext' @@ -231,7 +231,7 @@ class NTFSExt(_Extension): class PDFExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'pdf-ext' @@ -246,7 +246,7 @@ class PDFExt(_Extension): class RasterImageExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'raster-image-ext' @@ -260,7 +260,7 @@ class RasterImageExt(_Extension): class WindowsPEOptionalHeaderType(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -304,7 +304,7 @@ class WindowsPEOptionalHeaderType(_STIXBase21): class WindowsPESection(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _properties = OrderedDict([ @@ -317,7 +317,7 @@ class WindowsPESection(_STIXBase21): class WindowsPEBinaryExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'windows-pebinary-ext' @@ -339,7 +339,7 @@ class WindowsPEBinaryExt(_Extension): class File(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'file' @@ -373,7 +373,7 @@ class File(_Observable): class IPv4Address(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'ipv4-addr' @@ -394,7 +394,7 @@ class IPv4Address(_Observable): class IPv6Address(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'ipv6-addr' @@ -415,7 +415,7 @@ class IPv6Address(_Observable): class MACAddress(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'mac-addr' @@ -434,7 +434,7 @@ class MACAddress(_Observable): class Mutex(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'mutex' @@ -453,7 +453,7 @@ class Mutex(_Observable): class HTTPRequestExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'http-request-ext' @@ -470,7 +470,7 @@ class HTTPRequestExt(_Extension): class ICMPExt(_Extension): # TODO: Add link """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'icmp-ext' @@ -482,7 +482,7 @@ class ICMPExt(_Extension): class SocketExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'socket-ext' @@ -535,7 +535,7 @@ class SocketExt(_Extension): class TCPExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'tcp-ext' @@ -547,7 +547,7 @@ class TCPExt(_Extension): class NetworkTraffic(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'network-traffic' @@ -602,7 +602,7 @@ class NetworkTraffic(_Observable): class WindowsProcessExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'windows-process-ext' @@ -628,7 +628,7 @@ class WindowsProcessExt(_Extension): class WindowsServiceExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'windows-service-ext' @@ -677,7 +677,7 @@ class WindowsServiceExt(_Extension): class Process(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'process' @@ -721,7 +721,7 @@ class Process(_Observable): class Software(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'software' @@ -745,7 +745,7 @@ class Software(_Observable): class URL(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'url' @@ -764,7 +764,7 @@ class URL(_Observable): class UNIXAccountExt(_Extension): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'unix-account-ext' @@ -778,7 +778,7 @@ class UNIXAccountExt(_Extension): class UserAccount(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'user-account' @@ -810,7 +810,7 @@ class UserAccount(_Observable): class WindowsRegistryValueType(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'windows-registry-value-type' @@ -841,7 +841,7 @@ class WindowsRegistryValueType(_STIXBase21): class WindowsRegistryKey(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'windows-registry-key' @@ -865,7 +865,7 @@ class WindowsRegistryKey(_Observable): class X509V3ExtensionsType(_STIXBase21): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'x509-v3-extensions-type' @@ -891,7 +891,7 @@ class X509V3ExtensionsType(_STIXBase21): class X509Certificate(_Observable): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'x509-certificate' diff --git a/stix2/v21/sdo.py b/stix2/v21/sdo.py index 527900b..1ca448a 100644 --- a/stix2/v21/sdo.py +++ b/stix2/v21/sdo.py @@ -25,7 +25,7 @@ from .common import ExternalReference, GranularMarking, KillChainPhase class AttackPattern(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'attack-pattern' @@ -53,7 +53,7 @@ class AttackPattern(_DomainObject): class Campaign(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'campaign' @@ -93,7 +93,7 @@ class Campaign(_DomainObject): class CourseOfAction(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'course-of-action' @@ -119,7 +119,7 @@ class CourseOfAction(_DomainObject): class Grouping(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'grouping' @@ -147,7 +147,7 @@ class Grouping(_DomainObject): class Identity(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'identity' @@ -177,7 +177,7 @@ class Identity(_DomainObject): class Incident(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'incident' @@ -204,7 +204,7 @@ class Incident(_DomainObject): class Indicator(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'indicator' @@ -264,7 +264,7 @@ class Indicator(_DomainObject): class Infrastructure(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'infrastructure' @@ -305,7 +305,7 @@ class Infrastructure(_DomainObject): class IntrusionSet(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'intrusion-set' @@ -348,7 +348,7 @@ class IntrusionSet(_DomainObject): class Location(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'location' @@ -456,7 +456,7 @@ class Location(_DomainObject): class Malware(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'malware' @@ -509,7 +509,7 @@ class Malware(_DomainObject): class MalwareAnalysis(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'malware-analysis' @@ -554,7 +554,7 @@ class MalwareAnalysis(_DomainObject): class Note(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'note' @@ -582,7 +582,7 @@ class Note(_DomainObject): class ObservedData(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'observed-data' @@ -638,7 +638,7 @@ class ObservedData(_DomainObject): class Opinion(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'opinion' @@ -676,7 +676,7 @@ class Opinion(_DomainObject): class Report(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'report' @@ -705,7 +705,7 @@ class Report(_DomainObject): class ThreatActor(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'threat-actor' @@ -752,7 +752,7 @@ class ThreatActor(_DomainObject): class Tool(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'tool' @@ -782,7 +782,7 @@ class Tool(_DomainObject): class Vulnerability(_DomainObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'vulnerability' diff --git a/stix2/v21/sro.py b/stix2/v21/sro.py index 9a0b9c6..bfe3f6d 100644 --- a/stix2/v21/sro.py +++ b/stix2/v21/sro.py @@ -14,7 +14,7 @@ from .common import ExternalReference, GranularMarking class Relationship(_RelationshipObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _invalid_source_target_types = ['bundle', 'language-content', 'marking-definition', 'relationship', 'sighting'] @@ -71,7 +71,7 @@ class Relationship(_RelationshipObject): class Sighting(_RelationshipObject): """For more detailed information on this object's properties, see - `the STIX 2.1 specification `__. + `the STIX 2.1 specification `__. """ _type = 'sighting'