Change the Content-Security-Policy header that is returned on all Bitbucket responses between "Content-Security-Policy" and "Content-Security-Policy-Report-Only".
Forge and OAuth2 apps cannot access this REST resource.
string
Setting updated
1
2
3
4
5
6
curl --request PUT \
--url 'http://{baseurl}/rest/csp/latest/settings' \
--header 'Content-Type: application/json' \
--data '{
"strictness": "STRICT"
}'Rate this page: