guardicore-rules
Query the Akamai Guardicore segmentation policy rules.
guardicore-rules [profile=VALUE] [from=VALUE] [to=VALUE] [duration=VALUE] [pretty=VALUE]
- profile=VALUE
- Optional. The identifier of Akamai Guardicore connect profile.
- from=VALUE
- Optional. Specifies the start of the range as yyyyMMddHHmmss. Omitted trailing digits are filled with zeros.
- to=VALUE
- Optional. Specifies the end of the range as yyyyMMddHHmmss. Omitted trailing digits are filled with zeros.
- duration=VALUE
- Optional. Relative range back from now, such as 90d. Units: s, m, h, d, w, mon.
- pretty=VALUE
- Optional. Join string list fields with newlines so they read as a block (t/f).
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | The identifier of Akamai Guardicore connect profile |
| guid | String | Rule GUID | Rule UUID |
| section | String | Section | e.g. ALLOW, ALERT, BLOCK, OVERRIDE_ALLOW |
| action | String | Action | e.g. ALLOW, ALERT, BLOCK, AUTHENTICATE |
| ruleset | String | Ruleset | Ruleset name |
| src_labels | List | Source labels | e.g. env=prod & role=web |
| src_entities | List | Source entities | e.g. web-01, 10.0.0.0/8 |
| dst_labels | List | Destination labels | e.g. env=prod & role=web |
| dst_entities | List | Destination entities | e.g. web-01, 10.0.0.0/8 |
| ports | List | Ports | Individual ports |
| port_ranges | List | Port ranges | e.g. 4567-4568 |
| ip_protocols | List | IP protocols | e.g. TCP, UDP |
| is_enabled | Boolean | Enabled | Whether the rule is enabled |
| state | String | State | e.g. CREATED, MODIFIED, DELETED, UNCHANGED |
| hit_count | Integer | Hit count | Number of hits |
| last_hit | Date | Last hit | Time of the last hit |
| description | String | Description | Rule description |
| author | String | Author | Rule author |
| created | Date | Created | Creation time |
| updated | Date | Updated | Last change time |