Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fix windows 2008 nova cis issues
Browse files Browse the repository at this point in the history
- Get-NetFirewallProfile not available on 2008. Disabling firewall
checks there until we figure out a workaround
- Added more checks for bad lines when fetching accounts in win_secedit
- Fix leading whitespace in reg checks
  • Loading branch information
basepi committed Nov 1, 2016
1 parent e32c31d commit bfc8ec1
Show file tree
Hide file tree
Showing 3 changed files with 490 additions and 490 deletions.
2 changes: 1 addition & 1 deletion hubblestack_nova/win_secedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def _get_account_sid():
lines.remove('local:')
for line in lines:
line = line.strip()
if line != '':
if line != '' and ' : ' in line:
k, v = line.split(' : ')
if k.lower() == 'name':
key = v
Expand Down
Loading

0 comments on commit bfc8ec1

Please sign in to comment.