{"action":"opened","issue":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/140","repository_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/140/comments","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity-nginx/issues/140/events","html_url":"https://github.com/SpiderLabs/ModSecurity-nginx/issues/140","id":387583622,"node_id":"MDU6SXNzdWUzODc1ODM2MjI=","number":140,"title":"Question - How can I change the default error code (403) in ModSecurity","user":{"login":"vikas027","id":6998650,"node_id":"MDQ6VXNlcjY5OTg2NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6998650?v=4","gravatar_id":"","url":"https://api.github.com/users/vikas027","html_url":"https://github.com/vikas027","followers_url":"https://api.github.com/users/vikas027/followers","following_url":"https://api.github.com/users/vikas027/following{/other_user}","gists_url":"https://api.github.com/users/vikas027/gists{/gist_id}","starred_url":"https://api.github.com/users/vikas027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikas027/subscriptions","organizations_url":"https://api.github.com/users/vikas027/orgs","repos_url":"https://api.github.com/users/vikas027/repos","events_url":"https://api.github.com/users/vikas027/events{/privacy}","received_events_url":"https://api.github.com/users/vikas027/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T04:00:23Z","updated_at":"2018-12-05T04:00:23Z","closed_at":null,"author_association":"NONE","body":"Hey All,\r\n\r\nBy default, ModSecurity blocks something with an error code 403. In our environment, we want to change this code to something else (say 455 for example).\r\n\r\nAs per docs, it can be done in the _RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf_ file but I could not figure it out how to do it.\r\n\r\nI know it can be done per rule ID, but again not sure how to make it a default globally across ModSecurity.\r\n\r\nThanks in advance.\r\n"}}
{"actor":{"display_login":"vikas027"}}