debian-mirror-gitlab/doc/user/application_security/threat_monitoring/index.md
2020-05-24 23:13:21 +05:30

3.4 KiB

type
reference, howto

Threat Monitoring (ULTIMATE)

Introduced in GitLab Ultimate 12.9.

The Threat Monitoring page provides metrics for the GitLab application runtime security features. You can access these metrics by navigating to your project's Security & Compliance > Threat Monitoring page.

GitLab supports statistics for the following security features:

Web Application Firewall

The Web Application Firewall section provides metrics for the NGINX Ingress controller and ModSecurity firewall. This section has the following prerequisites:

If you are using custom Helm values for the Elastic Stack you have to configure Filebeat similarly to the vendored values.

The Web Application Firewall section displays the following information about your Ingress traffic:

  • The total amount of requests to your application
  • The proportion of traffic that is considered anomalous according to the configured rules
  • The request breakdown graph for the selected time interval

If a significant percentage of traffic is anomalous, you should investigate it for potential threats by examining the Web Application Firewall logs.

Container Network Policy

Introduced in GitLab Ultimate 12.9.

The Container Network Policy section provides packet flow metrics for your application's Kubernetes namespace. This section has the following prerequisites:

If you're using custom Helm values for Cilium, you must enable Hubble with flow metrics for each namespace by adding the following lines to your Hubble values:

metrics:
  enabled:
    - 'flow:sourceContext=namespace;destinationContext=namespace'

The Container Network Policy section displays the following information about your packet flow:

  • The total amount of the inbound and outbound packets
  • The proportion of packets dropped according to the configured policies
  • The per-second average rate of the forwarded and dropped packets accumulated over time window for the requested time interval

If a significant percentage of packets is dropped, you should investigate it for potential threats by examining the Cilium logs.