Skip to content

Instantly share code, notes, and snippets.

View NavyaDeveloper's full-sized avatar

Navya NavyaDeveloper

View GitHub Profile
@NavyaDeveloper
NavyaDeveloper / aws_cloudfront_no_origin_s3_restriction_test.sh
Created November 24, 2023 14:54 — forked from exequielrafaela/aws_cloudfront_no_origin_s3_restriction_test.sh
Scurity & Audit Bash script functions based on awscli to get differente AWS services information for different scenarios
#!/usr/bin/env bash
#
# AWS ENV vars for your project (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html)
#
# AWS_PROFILE – Specifies the name of the CLI profile with the credentials and options to use.
# This can be the name of a profile stored in a credentials (~/.aws/credentials) or config (~/.aws/config)
# file, or the value default to use the default profile. If you specify this environment variable,
# it overrides the behavior
# of using the profile named [default] in the configuration file.