Retrieves the available set of log fields for RTLD WAF.
Retrieve RTLD WAF log fields via the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/rtld/v1/waf/fields |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
You may use either of the above endpoints. However, the API gateway endpoint requires oAuth 2.0 credentials.
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id |
String |
Returns /waf/fields. |
@type |
String |
Returns Collection. |
Array of objects |
Contains the available log fields. |
|
total_items |
Integer |
Indicates the total number of log fields that were included in the response. |
The items array describes each log field using the following properties:
Name |
Data Type |
Description |
---|---|---|
category |
String |
Identifies the log field's category. |
code |
String |
Identifies a log field by its code name. Reference this code name when defining or retrieving a RTLD WAF profile. |
name |
String |
Identifies a log field by its name. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/rtld/v1/waf/fields HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 1931
{ "@id": "/waf/fields", "@type": "Collection", "items": [{ "category": "Client Geography", "code": "client_country_code", "name": "Country Code" }, { "category": "Client Geography", "code": "client_city", "name": "City Name" }, { "category": "Response", "code": "timestamp", "name": "Epoch Time" }, { "category": "Client Network", "code": "client_ip", "name": "Client IP" }, { "category": "Network", "code": "server_port", "name": "Server Port" }, { "category": "Request", "code": "url", "name": "URL" }, { "category": "Request Header", "code": "host", "name": "Host" }, { "category": "Request Header", "code": "user_agent", "name": "User Agent" }, { "category": "Request Header", "code": "referer", "name": "Referer" }, { "category": "General", "code": "account_number", "name": "Customer AN" }, { "category": "Request", "code": "uuid", "name": "Event ID" }, { "category": "Event", "code": "rule_message", "name": "Rule Message" }, { "category": "Event", "code": "rule_tags", "name": "Rule Tags" }, { "category": "Sub Event", "code": "sub_events_count", "name": "Sub Events Count" }, { "category": "Sub Event", "code": "sub_events", "name": "Sub Events" }, { "category": "Security Configuration", "code": "waf_instance_name", "name": "Instance Name" }, { "category": "Security Configuration", "code": "waf_profile_name", "name": "Profile Name" }, { "category": "Event", "code": "action_type", "name": "Action Type" }, { "category": "Security Configuration", "code": "waf_profile_type", "name": "Profile Type" }, { "category": "Client Geography", "code": "client_country", "name": "Country Name" } ], "total_items": 20 }