Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
quixoticmonk committed Aug 22, 2023
1 parent 618767e commit 4cb2de4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/tf_scan.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""Script to scan your Terraform or Cloudformation template against Conformity API"""
import sys
import json
import requests
import sys


import click

Expand Down Expand Up @@ -33,7 +35,7 @@ def initiate_scan(region, api_key, template_type, template_path):
}
}
}
resp = requests.post(conformity_url, headers=headers, data=json.dumps(payload))
resp = requests.post(conformity_url, headers=headers, data=json.dumps(payload), timeout=20)

response_object = resp.json()
scan_status = {}
Expand Down

0 comments on commit 4cb2de4

Please sign in to comment.