Skip to content

Commit

Permalink
Fixes ComplianceAsCode#2607 - audit_rules_login_events
Browse files Browse the repository at this point in the history
  • Loading branch information
OnceUponALoop committed Feb 27, 2018
1 parent bb89717 commit 0aca8aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/templates/create_audit_rules_login_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class AuditRulesLoginEventsGenerator(FilesGenerator):
def generate(self, target, args):
path = args[0]
name = re.sub('[-\./]', '_', os.path.basename(path))
name = re.sub('[-\./]', '_', os.path.basename(os.path.normpath(path)))
if target == "oval":
self.file_from_template(
"./template_OVAL_audit_rules_login_events",
Expand Down
2 changes: 1 addition & 1 deletion shared/templates/csv/audit_rules_login_events.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/var/run/faillock
/var/run/faillock/
/var/log/lastlog
/var/log/tallylog

0 comments on commit 0aca8aa

Please sign in to comment.