Skip to content

Commit

Permalink
Merge pull request #64 from dome9/CNAPP-10357-fix-gcp-bots
Browse files Browse the repository at this point in the history
CNAPP-10357 fixed gcp region
  • Loading branch information
kerenshm authored Jul 16, 2024
2 parents 647745d + b0dbeae commit 0ba6b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/flow_logs_enable.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def run_action(project_id, rule, entity, params):
logging.info(f'{__file__} - run_action started')
credentials = GoogleCredentials.get_application_default()
service = discovery.build('compute', 'v1', credentials=credentials)
region = entity.get('region')
region = entity.get('region').replace('_','-')
fingerprint = entity.get('fingerPrint')
subnetwork = entity.get('name')

Expand Down

0 comments on commit 0ba6b36

Please sign in to comment.