forked from TrueCloudLab/policy-engine
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
|
{
|
||
|
"ID": "MmNjYTVhZTctY2VlOC00MjhkLWI0NWYtNTY3ZmIxZDAzZjAx",
|
||
|
"Rules": [
|
||
|
{
|
||
|
"Status": "AccessDenied",
|
||
|
"Actions": {
|
||
|
"Inverted": false,
|
||
|
"Names": [
|
||
|
"DeleteObject",
|
||
|
"GetContainer"
|
||
|
]
|
||
|
},
|
||
|
"Resources": {
|
||
|
"Inverted": false,
|
||
|
"Names": [
|
||
|
"native:object/*"
|
||
|
]
|
||
|
},
|
||
|
"Any": false,
|
||
|
"Condition": [
|
||
|
{
|
||
|
"Op": "StringEquals",
|
||
|
"Object": "Request",
|
||
|
"Key": "$Actor:role",
|
||
|
"Value": "others"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Status": "QuotaLimitReached",
|
||
|
"Actions": {
|
||
|
"Inverted": true,
|
||
|
"Names": [
|
||
|
"PutObject"
|
||
|
]
|
||
|
},
|
||
|
"Resources": {
|
||
|
"Inverted": false,
|
||
|
"Names": [
|
||
|
"native:object//9LPLUFZpEmfidG4n44vi2cjXKXSqWT492tCvLJiJ8W1J/*"
|
||
|
]
|
||
|
},
|
||
|
"Any": true,
|
||
|
"Condition": [
|
||
|
{
|
||
|
"Op": "StringNotLike",
|
||
|
"Object": "Resource",
|
||
|
"Key": "$Object:objectType",
|
||
|
"Value": "regular"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Status": "100",
|
||
|
"Actions": {
|
||
|
"Inverted": false,
|
||
|
"Names": null
|
||
|
},
|
||
|
"Resources": {
|
||
|
"Inverted": false,
|
||
|
"Names": null
|
||
|
},
|
||
|
"Any": false,
|
||
|
"Condition": [
|
||
|
{
|
||
|
"Op": "255",
|
||
|
"Object": "128",
|
||
|
"Key": "",
|
||
|
"Value": ""
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"MatchType": "FirstMatch"
|
||
|
}
|