guardicore-add-label-ip-batch
Add IP criteria from input records to Akamai Guardicore labels. Input records must contain the ip (string) field, and the key (string) and value (string) fields unless those are fixed by options. 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. A label is created on demand if it does not exist.
guardicore-add-label-ip-batch profile=VALUE [key=VALUE] [value=VALUE] [ip-field=VALUE] [key-field=VALUE] [value-field=VALUE] [unique-key=VALUE] [batch=VALUE]
- profile=VALUE
- Required. The identifier of Akamai Guardicore connect profile.
- key=VALUE
- Optional. Fixed label key. Read from key-field when omitted.
- value=VALUE
- Optional. Fixed label value. Read from value-field when omitted.
- ip-field=VALUE
- Optional. Input field holding the subnet or range. Default: ip.
- key-field=VALUE
- Optional. Input field holding the label key. Default: key.
- value-field=VALUE
- Optional. Input field holding the label value. Default: value.
- unique-key=VALUE
- Optional. Remove the subnets from other labels sharing the key. Default: false.
- batch=VALUE
- Optional. Rows buffered before each API call, 1 to 1000. Default: 1, which sends each row on its own so a failure is reported per row.
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | The identifier of Akamai Guardicore connect profile |
| _result | String | Result | e.g. success, fail, skip |
| _error | String | Error | Reason when the result is fail or skip |