Skip to content

Commit aef351c

Browse files
authored
Merge branch 'develop' into dependabot/pip/azure-mgmt-network-18.0.0
2 parents ab41824 + 1b384a7 commit aef351c

File tree

5 files changed

+41
-13
lines changed

5 files changed

+41
-13
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ updates:
33
- package-ecosystem: pip
44
directory: "/"
55
schedule:
6-
interval: daily
7-
time: "14:00"
8-
open-pull-requests-limit: 10
6+
interval: monthly
7+
open-pull-requests-limit: 6

automated_detection_testing/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ attrs==20.3.0
88
azure-common==1.1.26
99
azure-core==1.11.0
1010
azure-identity==1.5.0
11-
azure-mgmt-compute==18.2.0
11+
azure-mgmt-compute==19.0.0
1212
azure-mgmt-core==1.2.2
1313
azure-mgmt-network==18.0.0
14-
azure-mgmt-resource==15.0.0
14+
azure-mgmt-resource==16.0.0
1515
bcrypt==3.2.0
1616
boto3==1.16.62
1717
botocore==1.20.0
@@ -30,7 +30,7 @@ gitdb==4.0.5
3030
GitPython==3.1.14
3131
identify==1.5.13
3232
idna==2.8
33-
importlib-metadata==3.4.0
33+
importlib-metadata==3.7.0
3434
Jinja2==2.11.3
3535
jmespath==0.10.0
3636
lockfile==0.12.2
@@ -48,7 +48,7 @@ path.py==12.5.0
4848
pexpect==4.8.0
4949
pluggy==0.13.1
5050
pre-commit==2.10.0
51-
protobuf==3.15.1
51+
protobuf==3.15.6
5252
psutil==5.8.0
5353
ptyprocess==0.7.0
5454
py==1.10.0
@@ -79,4 +79,4 @@ wcwidth==0.2.5
7979
wget==3.2
8080
wrapt==1.12.1
8181
xmltodict==0.12.0
82-
zipp==3.4.0
82+
zipp==3.4.1

bin/jinja2_templates/detection.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ tags:
3232
- {{product}}
3333
{% endfor -%}
3434
required_fields:
35-
- _time
35+
- _time
36+
security_domain: {{security_domain}}

bin/newcontent.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,34 @@ def detection_wizard(security_content_path,type,TEMPLATE_PATH):
164164
},
165165
],
166166
},
167+
{
168+
# get provider
169+
'type': 'list',
170+
'message': 'security_domain for detection',
171+
'name': 'security_domain',
172+
'choices': [
173+
{
174+
'name': 'access'
175+
},
176+
{
177+
'name': 'endpoint'
178+
},
179+
{
180+
'name': 'network'
181+
},
182+
{
183+
'name': 'threat'
184+
},
185+
{
186+
'name': 'identity'
187+
},
188+
{
189+
'name': 'audit'
190+
},
191+
192+
],
193+
'default': 'endpoint'
194+
},
167195
]
168196

169197
answers = prompt(questions)
@@ -192,7 +220,7 @@ def detection_wizard(security_content_path,type,TEMPLATE_PATH):
192220
search= answers['detection_search'] + ' | `' + detection_file_name + '_filter`',
193221
type=answers['detection_type'], analytic_story_name='UPDATE_STORY_NAME', mitre_attack_id = answers['mitre_attack_ids'],
194222
kill_chain_phases=answers['kill_chain_phases'], dataset_url='UPDATE_DATASET_URL',
195-
products=answers['products'])
223+
products=answers['products'], security_domain=answers['security_domain'])
196224
with open(output_path, 'w', encoding="utf-8") as f:
197225
f.write(output)
198226

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gitdb==4.0.5
1515
humanfriendly==9.1
1616
identify==1.5.13
1717
idna==2.10
18-
importlib-metadata==3.4.0
18+
importlib-metadata==3.7.0
1919
importlib-resources==5.1.2
2020
Jinja2==2.11.3
2121
jsonschema==3.2.0
@@ -25,7 +25,7 @@ nodeenv==1.5.0
2525
pathlib2==2.3.5
2626
pre-commit==2.10.0
2727
prompt-toolkit==1.0.14
28-
Pygments==2.8.0
28+
Pygments==2.8.1
2929
PyInquirer==1.0.3
3030
pyrsistent==0.17.3
3131
python-dateutil==2.8.1
@@ -47,4 +47,4 @@ typing==3.7.4.3
4747
urllib3==1.26.3
4848
virtualenv==20.4.2
4949
wcwidth==0.2.5
50-
zipp==3.4.0
50+
zipp==3.4.1

0 commit comments

Comments
 (0)