Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Nov 15, 2023
1 parent cd803d2 commit c234746
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/utils/external_project_parsers/dsomm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"{'TODO': \"Incorporate advanced WAF input validation processes into the organization's ISMS.\"}",
"{'TODO': \"Incorporate advanced WAF input validation processes into the organization's ISMS.\"}",
"{'TODO': 'Integrate WAF deployment with ISO 27001 controls for system hardening.'}",
"{'TODO': 'Integrate WAF deployment with ISO 27001 controls for system hardening.'}"
"{'TODO': 'Integrate WAF deployment with ISO 27001 controls for system hardening.'}",
"{'TODO': 'Identify and implement SAMM security practices relevant to WAF configuration.'}",
"System hardening is not explicitly covered by ISO 27001 - too specific",
"vcs usage is not explicitly covered by ISO 27001 - too specific",
"System hardening, virtual environments are not explicitly covered by ISO 27001 - too specific",
Expand Down Expand Up @@ -97,7 +98,7 @@ def parse(
continue
samms = cache.get_nodes(name="SAMM", sectionID=f"{sectionID}")
if not len(samms):
sectionID = re.sub("-\d", sectionID, "")
sectionID = re.sub("-\d", "", f"{sectionID}")
samms = cache.get_nodes(
name="SAMM", sectionID=f"{sectionID}"
)
Expand Down

0 comments on commit c234746

Please sign in to comment.