jue / examples /aws_iam_policy.json
Jue1Dev's picture
Jue: open-weight calibrated decision model for cybersecurity
d259245
Raw History Blame Contribute Delete
1.15 kB
{
"model": "jue-latest",
"state": {
"policy": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::finance-reports",
"arn:aws:s3:::finance-reports/*"
]
},
{
"Effect": "Deny",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::finance-reports",
"arn:aws:s3:::finance-reports/*"
],
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
}
]
},
"request": {
"action": "s3:GetObject",
"resource": "arn:aws:s3:::finance-reports/2026/q3.xlsx",
"context": {
"aws:SecureTransport": "false"
}
}
},
"questions": {
"allowed": {
"type": "noul",
"instructions": "Under this identity policy, the request is allowed."
},
"decisive_statement": {
"type": "choice",
"instructions": "Which statement decides the outcome?",
"criteria": {
"ALLOW_S3_ALL": "The Allow s3:* statement",
"DENY_INSECURE": "The Deny statement conditioned on aws:SecureTransport = false",
"IMPLICIT_DENY": "No statement matches; implicit deny"
}
}
}
}