open-appsec
WebsiteManagement PortalPlaygroundGitHub
  • open-appsec Documentation
  • What is open-appsec?
  • open-appsec Video Tutorials
  • Release Notes
  • Getting started
    • Getting Started
    • Start With Kubernetes
      • Install Using Interactive CLI Tool (Ingress NGINX)
      • Configuration Using Interactive CLI Tool
      • Install Using Helm
      • Install Using Helm - new flow (beta)
      • Configuration Using CRDs
      • Configuration Using CRDs - v1beta2
      • Configuration using CRDs - special options for Large Scale Deployments
        • Using appsec class for assigning separate custom resources to specific deployments
        • Using namespace-scoped custom resources
      • Monitor Events
    • Start With Linux
      • Install open-appsec for Linux
      • Using the open-appsec-ctl Tool
      • Configuration Using Local Policy File (Linux)
      • Local Policy File (Advanced)
      • Local Policy File v1beta2 (beta)
      • Monitor Events
    • Start with Docker
      • Install With Docker (Centrally Managed)
      • Install With Docker (Locally Managed)
      • Deploy With Docker-Compose (Beta)
      • Configuration Using Local Policy File (Docker)
      • Local Policy File (Advanced)
    • Using the Web UI (SaaS)
      • Sign-Up and Login to Portal
      • Agents Deployment
      • Connect Deployed Agents to SaaS Management Using Tool (K8s & Linux)
      • Connect Deployed Agents to SaaS Management Using Helm (K8s)
      • Connect Deployed Agents to SaaS Management (Docker)
      • Create a Profile
      • Protect Additional Assets
      • Monitor Events
    • Using the Advanced Machine Learning Model
  • Concepts
    • Agents
    • Management & Automation
    • Security Practices
    • Contextual Machine Learning
  • SETUP INSTRUCTIONS
    • Setup Web Application Settings
    • Setup Custom Rules and Exceptions
    • Setup Web User Response Pages
    • Setup Log Triggers
    • Setup Behavior Upon Failure
    • Setup Agent Upgrade Schedule
  • Additional Security Engines
    • Anti-Bot
    • API Schema Enforcement
    • Data Loss Prevention (DLP) Rules
    • File Security
    • Intrusion Prevention System (IPS)
    • Rate Limit
  • Snort Rules
    • Import Snort Rules
    • Write Snort Signatures
  • HOW TO
    • Configuration and Learning
      • Track Learning and Move From Learn/Detect to Prevent
      • Configure Contextual Machine Learning for Best Accuracy
      • Track Learning and Local Tuning in Standalone Deployments
      • Move From Detect to Prevent in K8s With Many Ingress Rules
  • Deployment and Upgrade
    • Load the Attachment in Proxy Configuration
    • Upgrade Your Reverse Proxy/API Gateway When an Agent is Installed
    • Integration in GitOps CD (K8s)
    • Build open-appsec Based on Source Code
  • Management Web UI
    • Track Agent Status
    • Delete or Reset Management Tenant (SaaS)
    • Disconnect an open-appsec agent from Central Management
  • Integrations
    • About Integrations With 3rd Party Solutions
    • CrowdSec
      • CrowdSec Bouncer Support
      • CrowdSec Intelligence Sharing Using open-appsec Parser/Scenario
    • NGINX Proxy Manager
      • Install NGINX Proxy Manager with open-appsec managed from NPM WebUI
      • Install NGINX Proxy Manager with open-appsec managed from central WebUI (SaaS)
      • Frequently Asked Questions
      • How to Migrate from an Existing NGINX Proxy Manager Deployment and Keep Configuration
    • NPMplus
    • Docker SWAG
      • Install Docker SWAG with open-appsec (locally managed)
      • How to connect locally managed Docker SWAG with open-appsec to WebUI
      • Install Docker SWAG with open-appsec (centrally managed)
      • Deploy Docker SWAG with docker-compose (beta)
      • Frequently Asked Questions
  • Prometheus
  • Troubleshooting
    • Troubleshooting
    • Troubleshooting Guides
      • Configuration contains ingress/asset with URL which already has asset attached to it in your tenant
      • HTTP Request to Port 80 Not Returning as Expected
      • Agent Fails to Recognize HTTP Transactions with NGINX
      • Agent Not Recognizing Initial HTTP Requests
      • Handling Large Requests (413 Responses)
      • open-appsec on Docker HTTP Transaction Handler Is Set To Ready
      • Traffic Recognition Issue on Single-Core Machine/Connection Timed Out
      • Installing open-appsec on CentOS 7
      • SELinux: checking status and disabling
      • Deploy open-appsec directly on the web server hosting the application to protect
      • object is locked or remote, and therefore cannot be modified
      • Failed to Register to Fog
  • references
    • Agent CLI
    • Event Query Language
    • Events/Logs Schema
    • WAF Comparison Project
Powered by GitBook
On this page
  • Configuration
  • Supported Parameters

Was this helpful?

Prometheus

PreviousFrequently Asked QuestionsNextTroubleshooting

Last updated 6 hours ago

Was this helpful?

Integrate open-appsec with to collect and monitor key metrics related to WAF performance and behavior.

Prometheus integration is currently in beta. Features and behavior may change in future releases.

Configuration

Note that enabling Prometheus integration is currently only supported for centrally managed agents (mode in deployment profile must be set to "This management"). Support for Prometheus integration with standalone and declaratively managed agents will be added in the future as well.

Prerequisites

  • Access to a SaaS tenant on

  • An open-appsec Agent connected to a centrally managed Profile

    • If you don't have an agent see instructions on how to get started .

    • If the agent is running as a container, ensure Prometheus port 7465 is open.

  • Prometheus Server

Instructions:

  1. In the Web UI, go to the Profiles page

  2. Click the profile assigned to your agent and switch to Advanced tab

  3. Under Advanced Settings, add:

    • Key: prometheus

    • Value: true

  4. Click Enforce Policy to apply changes

  1. Add a Job in your Prometheus Server configure the agent IP and Port, see example:

scrape_configs:
  - job_name: 'openappsec'
    static_configs:
      - targets: ['<agent-ip>:7465']

Supported Parameters

Display Name
Type
Description

nano_service_restarts_counter

LastReportedValue

watchdog process restart counter

total_requests_counter

Counter

total requests

unique_sources_counter

Counter

sources

requests_blocked_by_force_and_exception_counter

Counter

override: force exception and force block

requests_blocked_by_waf_counter

Counter

WAF blocked requests

requests_blocked_by_open_api_counter

Counter

API blocked requests

requests_blocked_by_bot_protection_counter

Counter

bot protection blocked requests

requests_threat_level_info_and_no_threat_counter

Counter

requests identified as info threat + none threat

requests_threat_level_low_counter

Counter

request identified as low threat

requests_threat_level_medium_counter

Counter

request identified as medium threat

requests_threat_level_high_counter

Average

request identified as high threat

post_requests_counter

Counter

post requests

get_requests_counter

Counter

get requests

put_requests_counter

Counter

put requests

patch_requests_counter

Counter

patch requests

delete_requests_counter

Counter

delete requests

other_requests_counter

Counter

other requests

2xx_status_code_responses_counter

Counter

response 2xx

4xx_status_code_responses_counter

Counter

response 4xx

5xx_status_code_responses_counter

Counter

response 5xx

requests_time_latency_average

Average

average latency

sql_injection_attacks_type_counter

Counter

SQL Injection

vulnerability_scanning_attacks_type_counter

Counter

Vulnerability Scanning

path_traversal_attacks_type_counter

Counter

Path Traversal

ldap_injection_attacks_type_counter

Counter

LDAP Injection

evasion_techniques_attacks_type_counter

Counter

Evasion Techniques

remote_code_execution_attacks_type_counter

Counter

Remote Code Execution

xml_extern_entity_attacks_type_counter

Counter

XML External Entity

cross_site_scripting_attacks_type_counter

Counter

Cross Site Scripting

general_attacks_type_counter

Counter

General

all_assets_counter

LastReportedValue

number of protected assets

prevent_action_matches_counter

Counter

prevent engine matches

detect_action_matches_counter

Counter

detect engine matches

ignore_action_matches_counter

Counter

ignore engine matches

cpu_usage_percentage_max

Max

Max CPU usage

cpu_usage_percentage_average

Average

Average CPU usage

cpu_usage_percentage_last_value

LastReportedValue

last CPU usage reported

service_virtual_memory_size_kb_max

Max

max service virtual memory size

service_virtual_memory_size_kb_min

Min

min service virtual memory size

service_virtual_memory_size_kb_average

Average

average service virtual memory size

service_physical_memory_size_kb_max

Max

max service RSS memory size

service_physical_memory_size_kb_min

Min

min service RSS memory size

service_physical_memory_size_kb_average

Average

average service RSS memory size

general_total_used_memory_max

Max

max general total memory size

general_total_used_memory_min

Min

min general total memory size

general_total_used_memory_average

Average

average general total memory size

Prometheus
my.openappsec.io
here