From b76a2cb6c06104e481708e27b52970f7ca176806 Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Thu, 5 Dec 2024 16:37:47 +0530 Subject: [PATCH] Updating security hub sam to python 3.13 --- .../sam/packaged.yaml | 10 +++++----- .../sam/sam_package.sh | 2 +- .../sam/template.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/packaged.yaml b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/packaged.yaml index 32d02ba..6b33b55 100644 --- a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/packaged.yaml +++ b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/packaged.yaml @@ -21,9 +21,9 @@ Metadata: - cloudwatchevents - securityhub Name: sumologic-securityhub-connector-aws-org - LicenseUrl: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.7/6092dd6c323e33634657102f570628e0 - ReadmeUrl: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.7/eb911876461845db8f3113dbace6d454 - SemanticVersion: 1.0.7 + LicenseUrl: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.8/6092dd6c323e33634657102f570628e0 + ReadmeUrl: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.8/eb911876461845db8f3113dbace6d454 + SemanticVersion: 1.0.8 SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/securityhub-org/sumologic-securityhub-collector-awsorg/src SpdxLicenseId: Apache-2.0 Parameters: @@ -42,8 +42,8 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: securityhub_collector_org.lambda_handler - Runtime: python3.11 - CodeUri: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.7/72d8a9923335d52f948cbd3f99d8b91d + Runtime: python3.13 + CodeUri: s3://appdevstore/SecurityHubCollectorAWSOrg/v1.0.8/72d8a9923335d52f948cbd3f99d8b91d MemorySize: 128 Timeout: 300 Environment: diff --git a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/sam_package.sh b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/sam_package.sh index 04c2080..4998cb1 100755 --- a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/sam_package.sh +++ b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/sam_package.sh @@ -10,7 +10,7 @@ else AWS_REGION="us-east-1" fi -version="1.0.6" +version="1.0.8" echo "Creating package.yaml" sam package --template-file template.yaml --s3-bucket $SAM_S3_BUCKET --output-template-file packaged.yaml --s3-prefix "SecurityHubCollectorAWSOrg/v"$version --region $AWS_REGION --profile $AWS_PROFILE diff --git a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/template.yaml b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/template.yaml index 4ed3e6f..68a50de 100644 --- a/securityhub-org/sumologic-securityhub-collector-awsorg/sam/template.yaml +++ b/securityhub-org/sumologic-securityhub-collector-awsorg/sam/template.yaml @@ -20,7 +20,7 @@ Metadata: Name: sumologic-securityhub-connector-aws-org LicenseUrl: ../LICENSE ReadmeUrl: ../README.md - SemanticVersion: 1.0.7 + SemanticVersion: 1.0.8 SourceCodeUrl: https://github.com/SumoLogic/sumologic-aws-lambda/tree/main/securityhub-org/sumologic-securityhub-collector-awsorg/src SpdxLicenseId: Apache-2.0 @@ -41,7 +41,7 @@ Resources: Type: 'AWS::Serverless::Function' Properties: Handler: securityhub_collector_org.lambda_handler - Runtime: python3.11 + Runtime: python3.13 CodeUri: ../src/src.zip MemorySize: 128 Timeout: 300