Skip to content

Commit

Permalink
Merge pull request #2628 from OnceUponALoop/fix-issue-2607-login_even…
Browse files Browse the repository at this point in the history
…ts_faillock

Fixes #2607 - audit_rules_login_events
  • Loading branch information
mpreisler committed Feb 27, 2018
2 parents 344c878 + 0aca8aa commit 3e3fd03
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 3e3fd03

Please sign in to comment.