Creates a new IP Allowlist config
object (IPAllowlistConfig) This contains data for a config set in Harness to allow selected IPs |
Example response
{- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}
}
{- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
Retrieves the information of the IP Allowlist Config
Example response
[- {
- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
]
Retrieves the specified IP Allowlist config
Example response
{- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
Updates the specified IP Allowlist config
object (IPAllowlistConfig) This contains data for a config set in Harness to allow selected IPs |
Example response
{- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}
}
{- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
Checks whether the IP Allowlist config identifier is unique or not
Example response
true
Checks whether the IP address is allowed or not. It also supports checking against a specific IP block range.
Example response
{- "allowed_for_custom_block": true,
- "allowlisted_configs": [
- {
- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
], - "allowed_for_ui": true,
- "allowed_for_api": true,
- "disabled_allowlisted_configs": [
- {
- "ip_allowlist_config": {
- "name": "string",
- "identifier": "string",
- "description": "string",
- "enabled": false,
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "allowed_source_type": [
- "UI"
], - "ip_address": "string"
}, - "created": 0,
- "updated": 0
}
]
}