Skip to content

Commit

Permalink
add bandit exception
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Nov 12, 2023
1 parent 81b74e0 commit 90714e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfn-templates/tests/test_deploy_with_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import json
import time
import logging
import subprocess
import subprocess #nosec B404

import boto3
import click
Expand All @@ -43,7 +43,7 @@

def build_layer():
"""delete all content and the bucket"""
layer_file = subprocess.check_output('./assets/build_lambda_layer.sh').decode().strip()
layer_file = subprocess.check_output('./assets/build_lambda_layer.sh').decode().strip() #nosec B603
upload_to_s3(layer_file, path=f'cid-resource-lambda-layer/{layer_file}')

def delete_bucket(name): # move to tools
Expand Down

0 comments on commit 90714e1

Please sign in to comment.