Skip to content

Commit

Permalink
Merge pull request #115 from 0xdabbad00/track_statement_references
Browse files Browse the repository at this point in the history
Track statement references
  • Loading branch information
kylelady authored May 18, 2020
2 parents 09121b9 + 7aebd49 commit daef9b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion parliament/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
This library is a linter for AWS IAM policies.
"""
__version__ = "0.4.13"
__version__ = "0.4.14"

import os
import json
Expand Down
4 changes: 4 additions & 0 deletions parliament/statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,13 @@ class Statement:
findings = []
effect_allow = True
stmt = None
policy_id = None

_is_valid = True

def set_policy_identifier(self, policy_id):
self.policy_id = policy_id

def __init__(self, stmt, analyze=True):
self.findings = []
self.stmt = stmt
Expand Down

0 comments on commit daef9b6

Please sign in to comment.