pyalienvaultcli 1.4__tar.gz → 1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/PKG-INFO +1 -1
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli/pyalienvaultcli.py +2 -2
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/PKG-INFO +1 -1
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/README.md +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli/__init__.py +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli/requirements.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/SOURCES.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/dependency_links.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/entry_points.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/requires.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyalienvaultcli.egg-info/top_level.txt +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/pyproject.toml +0 -0
- {pyalienvaultcli-1.4 → pyalienvaultcli-1.5}/setup.cfg +0 -0
|
@@ -9,14 +9,14 @@ from OTXv2 import OTXv2
|
|
|
9
9
|
from OTXv2 import IndicatorTypes
|
|
10
10
|
|
|
11
11
|
# Globals
|
|
12
|
-
VERSION = '1.
|
|
12
|
+
VERSION = '1.5'
|
|
13
13
|
SECRET_ALIENVAULT_API_KEY = 'SECRET_ALIENVAULT_API_KEY'
|
|
14
14
|
|
|
15
15
|
# Options definition
|
|
16
16
|
parser = argparse.ArgumentParser(description="version: " + VERSION)
|
|
17
17
|
parser.add_argument('-k', '--api-key', help='API key (could either be provided in the "%s" env var)' % SECRET_ALIENVAULT_API_KEY, type = str)
|
|
18
18
|
parser.add_argument('-a', '--action', help="Action to perform (default 'add')", choices = ['add'], type = str.lower, default = 'add')
|
|
19
|
-
parser.add_argument('-p', '--
|
|
19
|
+
parser.add_argument('-p', '--pulse-id', help='Pulse ID to perform the requested action', type = str.lower, required = True)
|
|
20
20
|
parser.add_argument('-i', '--input-file', help='Input file as a list of newline-separated IoC', required = True)
|
|
21
21
|
|
|
22
22
|
def make_indicator(entry, type):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|