Skip to content

Commit

Permalink
Track statement references
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdabbad00 committed May 13, 2020
1 parent 09121b9 commit 799ae9d
Showing 1 changed file with 4 additions and 0 deletions.
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 799ae9d

Please sign in to comment.