guardicore-add-label-ip
Add IP criteria to an Akamai Guardicore label, so every asset in the given subnets or ranges carries the label. Each value is CIDR notation whose host bits are all zero (IPv4 needs a prefix of /8 or narrower), or a first-last range with no spaces. The label is created on demand if it does not exist.
guardicore-add-label-ip profile=VALUE key=VALUE value=VALUE ip=VALUE [unique-key=VALUE]
- profile=VALUE
- Required. The identifier of Akamai Guardicore connect profile.
- key=VALUE
- Required. Label key.
- value=VALUE
- Required. Label value.
- ip=VALUE
- Required. Comma separated subnets or ranges. e.g. 10.0.0.0/8,1.2.3.4-1.2.3.9
- unique-key=VALUE
- Optional. Remove the subnets from other labels sharing the key. Default: false.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | The identifier of Akamai Guardicore connect profile |
| key | String | Key | Label key |
| value | String | Value | Label value |
| ip | String | IP | Subnet or range added |
| result | String | Result | e.g. success, fail |
| error | String | Error | Error message when the result is fail |