[metadata]
creation_date = "2020/02/18"
maturity = "production"
updated_date = "2020/10/26"

[rule]
author = ["Elastic"]
description = """
A POST request to web application returned a 403 response, which indicates the web application declined to process the
request because the action requested was not allowed
"""
false_positives = [
    """
    Security scans and tests may result in these errors. Misconfigured or buggy applications may produce large numbers
    of these errors. If the source is unexpected, the user unauthorized, or the request unusual, these may indicate
    suspicious or malicious activity.
    """,
]
index = ["apm-*-transaction*"]
language = "kuery"
license = "Elastic License"
name = "Web Application Suspicious Activity: POST Request Declined"
references = ["https://en.wikipedia.org/wiki/HTTP_403"]
risk_score = 47
rule_id = "a87a4e42-1d82-44bd-b0bf-d9b7f91fb89e"
severity = "medium"
tags = ["Elastic", "APM"]
type = "query"

query = '''
http.response.status_code:403 and http.request.method:post
'''

