Skip to content

Commit

Permalink
Add ClientError import
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Jan 28, 2024
1 parent 82349fa commit 3b66b19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/automation_lambdas/EDR_API/health_check.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import boto3
from botocore.exceptions import ClientError
from falconpy import APIHarness

# Function to grab secrets
Expand Down
2 changes: 2 additions & 0 deletions samples/automation_lambdas/EDR_API/lambda_function.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import json
import boto3
from botocore.exceptions import ClientError


def get_secret(key_type):
# Create a Secrets Manager client
Expand Down
1 change: 1 addition & 0 deletions samples/automation_lambdas/FalconBot-SlackEnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import hmac
import hashlib
import boto3
from botocore.exceptions import ClientError
from urllib.parse import parse_qs

def get_secret():
Expand Down

0 comments on commit 3b66b19

Please sign in to comment.