Skip to content

Instantly share code, notes, and snippets.

View mtheoryx's full-sized avatar
🐳
Making happy little clouds

David Poindexter mtheoryx

🐳
Making happy little clouds
View GitHub Profile
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MakeItPublic",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::fs.ncaa.org/*"
},
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::ncaa/*"
},
@mtheoryx
mtheoryx / gist:127f815eeb15d62958536c7081cf9e56
Created October 20, 2026 19:11
IAM User Policy Bucket 3
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "TomInspectOracleErpXml",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::oracleerp/Sample_inbound_17_01_00.xml"
}
]
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::ncaa/*"
},
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MakeItPublic",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::fs.ncaa.org/*"
},
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AthenaRunQueries",
"Effect": "Allow",
"Action": [
"athena:StartQueryExecution",
"athena:StopQueryExecution",
"athena:GetQueryExecution",
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MakeItPublic",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::fs.ncaa.org/*"
},
@mtheoryx
mtheoryx / gist:99581711b9a061d1511086d701367abd
Created October 14, 2026 16:06
Block Policy - First one
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::ncaa/*"
},
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "MacieExportConfig",
"Effect": "Allow",
"Action": [
"macie2:PutClassificationExportConfiguration",
"macie2:GetClassificationExportConfiguration"
],
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMacieGetBucketLocation",
"Effect": "Allow",
"Principal": { "Service": "macie.amazonaws.com" },
"Action": "s3:GetBucketLocation",
"Resource": "arn:aws:s3:::ncaa-macie-results-411294620421",
"Condition": {