Skip to content

Commit

Permalink
severities
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Sep 29, 2020
1 parent 1eed020 commit 30866a2
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rules/discovery/rule_artifactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Rule:
def __init__(self):
self.rule = 'DSC_SSB9'
self.rule_severity = 1
self.rule_severity = 2
self.rule_description = 'Checks for Artifactory Panels'
self.rule_confirm = 'Identified an Artifactory Panel'
self.rule_details = ''
Expand Down
4 changes: 2 additions & 2 deletions rules/discovery/rule_aspconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
class Rule:
def __init__(self):
self.rule = 'DSC_GEG2'
self.rule_severity = 1
self.rule_severity = 2
self.rule_description = 'Checks for ASP.NET Configs'
self.rule_confirm = 'Identified an ASP.NET Config'
self.rule_details = ''
self.rule_mitigation = '''Identify whether the application in question is supposed to be exposed to the network.'''
self.rule_mitigation = '''Identify whether the configuration file is supposed to be exposed to the network.'''
self.rule_match_string = {
'/web.config':{
'app':'ASPNET_CONFIG',
Expand Down
4 changes: 2 additions & 2 deletions rules/discovery/rule_composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
class Rule:
def __init__(self):
self.rule = 'DSC_38A9'
self.rule_severity = 1
self.rule_severity = 2
self.rule_description = 'Checks for Composer JSON'
self.rule_confirm = 'Identified a Composer JSON'
self.rule_details = ''
self.rule_mitigation = '''Identify whether the application in question is supposed to be exposed to the network.'''
self.rule_mitigation = '''Identify whether the file in question is supposed to be exposed to the network.'''
self.rule_match_string = {
'/composer.json':{
'app':'COMPOSER_JSON',
Expand Down
2 changes: 1 addition & 1 deletion rules/discovery/rule_django-rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Rule:
def __init__(self):
self.rule = 'DSC_BSZ2'
self.rule_severity = 1
self.rule_severity = 2
self.rule_description = 'Checks for Django API Endpoints'
self.rule_confirm = 'Identified a Django API Endpoint'
self.rule_details = ''
Expand Down
2 changes: 1 addition & 1 deletion rules/discovery/rule_docker-registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Rule:
def __init__(self):
self.rule = 'DSC_55A9'
self.rule_severity = 1
self.rule_severity = 3
self.rule_description = 'Checks for Docker Registry Endpoints'
self.rule_confirm = 'Identified a Docker Registry Endpoint'
self.rule_details = ''
Expand Down
2 changes: 1 addition & 1 deletion rules/discovery/rule_flyway.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Rule:
def __init__(self):
self.rule = 'DSC_3GGB'
self.rule_severity = 1
self.rule_description = 'Checks for Flywway App'
self.rule_description = 'Checks for Flyway App'
self.rule_confirm = 'Identified a Flyway App'
self.rule_details = ''
self.rule_mitigation = '''Identify whether the application in question is supposed to be exposed to the network.'''
Expand Down
2 changes: 1 addition & 1 deletion rules/discovery/rule_globalprotect.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Rule:
def __init__(self):
self.rule = 'DSC_100F'
self.rule_severity = 1
self.rule_description = 'Checks for GLobal Protect Panels'
self.rule_description = 'Checks for Global Protect Panels'
self.rule_confirm = 'Identified a Global Protect Panel'
self.rule_details = ''
self.rule_mitigation = '''Identify whether the application in question is supposed to be exposed to the network.'''
Expand Down

0 comments on commit 30866a2

Please sign in to comment.