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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyalienvaultcli
3
- Version: 1.4
3
+ Version: 1.5
4
4
  Summary: A simple Python script to interact with Alienvault OTX APIs from CLI.
5
5
  Author-email: tdebize@mail.com
6
6
  License-Expression: LGPL-3.0-or-later
@@ -9,14 +9,14 @@ from OTXv2 import OTXv2
9
9
  from OTXv2 import IndicatorTypes
10
10
 
11
11
  # Globals
12
- VERSION = '1.4'
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', '--pulse_id', help='Pulse ID to perform the requested action', type = str.lower, required = True)
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyalienvaultcli
3
- Version: 1.4
3
+ Version: 1.5
4
4
  Summary: A simple Python script to interact with Alienvault OTX APIs from CLI.
5
5
  Author-email: tdebize@mail.com
6
6
  License-Expression: LGPL-3.0-or-later
File without changes
File without changes