Skip to content
Aa

WAF and application security

Request and rule-hit counters, events, incidents, suspicious users, and security evidence. Required resource or feature: Web application firewall (WAF) or application security feature.

Request, event, and client/server rule-hit counters. Dimensions include virtual host, event type, site, service, instance, rule identifier/severity/tag, firewall mode, and bot classification, depending on the endpoint. |

The application security metrics query with namespace and VH_NAME returned HTTP 200 with empty counters. Retain the measured WAF counters and authoritative event logs; capture meaningful points before presenting application security counts. See the empty security-event metric response for its timestamps and response.

Use Query concepts for shared request guidance and table conventions.

Method and exact pathInformation returnedScope and principal filtersSpecification reference
POST /api/data/namespaces/system/app_firewall/all_ns_metricsBot detection, attacked, blocked, and total request counters across namespacesTenant; system only; end_time, field_selector, filter, group_by, is_trend_request, range, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/system/app_security/all_ns_eventsSecurity Events Query All Namespaces; returns aggs, events, last_sort_values, scroll_id, total_hitsTenant; system only; aggs, end_time, limit, query, scroll, search_after, sort, sort_by, sort_values, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/system/app_security/all_ns_events/aggregationSecurity Events Aggregation Query All Namespaces; returns aggs, total_hitsTenant; system only; aggs, end_time, query, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_firewall/metricsBot detection, attacked, blocked, and total request countersSelected namespace; end_time, field_selector, filter, group_by, is_trend_request, range, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/eventsSecurity Events Query; returns aggs, events, last_sort_values, scroll_id, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, limit, query, scroll, search_after, sort, sort_by, sort_values, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/events/aggregationSecurity Events Aggregation Query; returns aggs, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, query, start_timeOperation · Request schema · Response schema
GET /api/data/namespaces/{namespace}/app_security/events/scrollSecurity Event Scroll Query; returns aggs, events, last_sort_values, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/events/scrollSecurity Event Scroll Query; returns aggs, events, last_sort_values, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/evidenceSecurity Evidence Query; returns aggs, evidences, last_sort_values, total_hitsSelected namespace; aggs, end_time, limit, query, search_after, sort, sort_by, sort_values, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/incidentsSecurity Incidents Query; returns aggs, incidents, last_sort_values, scroll_id, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, limit, query, scroll, search_after, sort, sort_by, sort_values, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/incidents/aggregationSecurity Incidents Aggregation Query; returns aggs, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, query, start_timeOperation · Request schema · Response schema
GET /api/data/namespaces/{namespace}/app_security/incidents/scrollSecurity Incidents Scroll Query; returns aggs, incidents, last_sort_values, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/incidents/scrollSecurity Incidents Scroll Query; returns aggs, incidents, last_sort_values, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/metricsSecurity-event counts grouped by virtual host, event type, or sourceSelected namespace; end_time, group_by, label_filter, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/suspicious_user_logsSuspicious User Logs Query; returns aggs, last_sort_values, logs, scroll_id, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, limit, query, scroll, search_after, sort, sort_by, sort_values, start_timeOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/suspicious_user_logs/aggregationSuspicious User Logs Aggregation Query; returns aggs, total_hitsSelected namespace; system can query across namespaces; aggs, end_time, query, start_timeOperation · Request schema · Response schema
GET /api/data/namespaces/{namespace}/app_security/suspicious_user_logs/scrollSuspicious User Logs Scroll Query; returns aggs, last_sort_values, logs, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/suspicious_user_logs/scrollSuspicious User Logs Scroll Query; returns aggs, last_sort_values, logs, scroll_id, total_hitsSelected namespace; scroll_idOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/wafs/metrics/client/rule_hitsClient Rule Hits Metrics; returns data, stepSelected namespace; end_time, group_by, label_filter, range, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/wafs/metrics/client/security_eventsClient Security Events Metrics; returns data, stepSelected namespace; end_time, group_by, label_filter, range, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/wafs/metrics/server/rule_hitsServer Rule Hits Metrics; returns data, stepSelected namespace; end_time, group_by, label_filter, range, start_time, stepOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/wafs/metrics/server/security_eventsServer Security Events Metrics; returns data, stepSelected namespace; end_time, group_by, label_filter, range, start_time, stepOperation · Request schema · Response schema
POST /api/ml/data/namespaces/{namespace}/virtual_hosts/{vh_name}/staged_signaturesStaged WAF signatures and observed hitsSelected namespace; vh_name, end_time, start_timeOperation · Request schema · Response schema
Method and exact pathInformation returnedScope and principal filtersSpecification reference
POST /api/data/namespaces/system/app_security/all_ns_search/loadbalancersSearch load balancers All Namespaces; returns loadbalancersTenant; system only; label_filterOperation · Request schema · Response schema
POST /api/data/namespaces/{namespace}/app_security/search/loadbalancersSearch load balancers; returns loadbalancersSelected namespace; label_filterOperation · Request schema · Response schema
GET /api/waf/attack-signatureslist Attack Signatures; returns attack_signatures, not_modified, versionTenant or entitled peer group; known_versionOperation · Request schema · Response schema
GET /api/waf/bot-signatureslist Bot Signatures; returns bot_signatures, not_modified, versionTenant or entitled peer group; known_versionOperation · Request schema · Response schema
GET /api/waf/latest-signatures-versionLatest Version; returns versionTenant or entitled peer group; No additional selectorOperation · Request schema · Response schema
GET /api/waf/threat-campaignslist Threat Campaigns; returns not_modified, threat_campaigns, versionTenant or entitled peer group; known_versionOperation · Request schema · Response schema
GET /api/waf/threat_campaign/{id}Threat Campaign by ID; returns attack_type, description, id, intent, last_updateTenant or entitled peer group; idOperation · Request schema · Response schema
POST /api/waf/threatsThreats; returns next_cursor, threatsTenant or entitled peer group; cursor, cve_ids, primary_tag, report_fields, waf_sec_event_idOperation · Request schema · Response schema
Method and exact pathInformation returnedScope and principal filtersSpecification reference
POST /api/report/namespaces/{namespace}/report_configs/list-reports-history-waapReports History Waap; returns items, reports, reports_listSelected namespace; include_all, report_config_namesOperation · Request schema · Response schema