Reference for Web Application Firewall

This guide lists the predefined objects in OCI Resource Analytics for the Web Application Firewall service. You can find information about views, entity relationships, subject areas, and sample queries.

Views

This section provides information about views within OCI Resource Analytics Web Application Firewall and their columns, data types, keys, and the referred view and column names. The following views are available:

Web Application Firewall Views
Name Description
WEB_APPLICATION_FIREWALL_NETWORK_ADDRESS_LIST_DIM_V This view stores information about IP addresses that can be reused between different Web Application Firewall policies.
WEB_APPLICATION_FIREWALL_DIM_V This view stores information about a resource connecting a Web Application Firewall policy to a backend of particular type, applying that policy's coverage to the backend.
WEB_APPLICATION_FIREWALL_POLICY_DIM_V This view stores information about Web Application Firewall policies.
WEB_APPLICATION_FIREWALL_FACT_V Fact table for Web Application Firewall resources.

The suffixes in the view names specify the view type:

  • FACT_V: Fact
  • DIM_V: Dimension

Relationship Diagram

This section provides diagrams that define the logical relationship of a fact table with different dimension tables.

The contents of each view and their relationships are listed in the following file: Web Application Firewall views.

WEB_APPLICATION_FIREWALL_FACT_V


Relationship diagram showing WEB_APPLICATION_FIREWALL_FACT_V and its related dimension tables.

Relationships exist among dimensions. Dimensions can be joined directly to each other.

WEB_APPLICATION_FIREWALL_NETWORK_ADDRESS_LIST_DIM_V


Relationship diagram showing WEB_APPLICATION_FIREWALL_NETWORK_ADDRESS_LIST_DIM_V and its related dimension table, COMPARTMENT_DIM_V.

Sample Queries

Sample queries for Web Application Firewall.

List active Web Application Firewalls and their associated policies.

SELECT
    WEB_APP_FIREWALL_ID,
    WEB_APP_FIREWALL_POLICY_ID
FROM OCIRA.WEB_APPLICATION_FIREWALL_FACT_V 
WHERE LIFECYCLE_STATE = 'ACTIVE';