diff --git a/README.rst b/README.rst index 08f1ad9..c509d46 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ be set automatically if not provided as keyword arguments. from stix2 import Indicator indicator = Indicator(name="File hash for malware variant", - indicator_types=["malicious-activity"], + labels=["malicious-activity"], pattern="[file:hashes.md5 = 'd41d8cd98f00b204e9800998ecf8427e']") To parse a STIX JSON string into a Python STIX object, use ``parse()``: