Also update the document with updated rego policy and updated OPA agent REST API. This PR is to fix a regression caused by PR #7637
10 lines
147 B
Rego
10 lines
147 B
Rego
package httpapi.authz
|
|
|
|
import input as http_api
|
|
|
|
default allow = false
|
|
|
|
allow = true {
|
|
http_api.action = "s3:PutObject"
|
|
http_api.owner = false
|
|
}
|