Skip to content

Commit

Permalink
Issue #3 remove erroneous tuple from compliance status
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider-vertical-relevance committed Apr 29, 2022
1 parent eebae9f commit 79bda1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions stacks/control_broker_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,32 +739,6 @@ def deploy_outer_sfn(self):
},
},
},
# "WriteDefaultDenyTemplateProcessingCompleteStatus": {
# "Type" : "Task",
# "Next" : "ForEachEvalResult",
# "ResultPath" : "$.SetMaxIndexZero",
# "Resource" : "arn:aws:states:::dynamodb:updateItem",
# "ResultSelector" : {
# "HttpStatusCode.$" : "$.SdkHttpMetadata.HttpStatusCode"
# },
# "Parameters" : {
# "TableName" : self.table_eval_results.table_name,
# "Key" : {
# "pk" : {
# "S.$" : "$.OuterEvalEngineSfnExecutionId"
# },
# "sk" : {
# "S.$" : "$$.Execution.Id"
# }
# },
# "ExpressionAttributeValues" : {
# ":true" : {
# "BOOL" : True
# },
# },
# "UpdateExpression" : "SET DefaultDenyTemplateProcessingCompleteStatus = :true",
# }
# },
"WriteResultsReport": {
"Type": "Task",
"End": True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def lambda_handler(event, context):
compliance = determine_compliance(
InfractionItems = infraction_items,
AllNestedSfnsSucceeded = all_nested_sfns_succeeded
),
)

eval_results_report = {
"ControlBrokerResultsReport": {
Expand Down

0 comments on commit 79bda1a

Please sign in to comment.