4312d8c958
* initial commit * addressing flake errors * added apm to _get_packagted_integrations logic * addressed flake errors * adjusted integration schema and updated rules to be a list * updated several rules and removed a unit test * updated rules with logs-* only index patterns * Update tests/test_all_rules.py Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com> * addressed flake errors * integration is none is windows, endpoint or apm * adding rules with accepted incoming changes from main * fixed tag and tactic alignment errors from unit testing * adjusted unit testing logic for integration tags; added more exclusion rules * adjusted test_integration logic to be rule resistent and skip if -8.3 * adjusted comments for unit test skip * fixed merge conflicts from main * changing test_integration_tag to remove logic for rule version comparisons * added integration tag to new rule * adjusted rules updated_date value * ignore guided onboarding rule in unit tests * added integration tag to new rule Co-authored-by: Mika Ayenson <Mikaayenson@users.noreply.github.com>
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[metadata]
|
|
creation_date = "2020/02/18"
|
|
integration = ["apm"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2022/12/14"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
A request to a web application returned a 405 response, which indicates the web application declined to process the
|
|
request because the HTTP method is not allowed for the resource.
|
|
"""
|
|
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*", "traces-apm*"]
|
|
language = "kuery"
|
|
license = "Elastic License v2"
|
|
name = "Web Application Suspicious Activity: Unauthorized Method"
|
|
references = ["https://en.wikipedia.org/wiki/HTTP_405"]
|
|
risk_score = 47
|
|
rule_id = "75ee75d8-c180-481c-ba88-ee50129a6aef"
|
|
severity = "medium"
|
|
tags = ["Elastic", "APM"]
|
|
timestamp_override = "event.ingested"
|
|
type = "query"
|
|
|
|
query = '''
|
|
http.response.status_code:405
|
|
'''
|
|
|