Use this API to implement and customize global tenant security settings.
With this functionality in place, administrators can manage the global security settings that a tenant/org has.
This API can be used to configure the networks and Geographies allowed to access Identity Security Cloud URLs.
Create security network configuration.
This API returns the details of an org's network auth configuration. Requires security scope of: 'sp:auth-org:manage'
Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.network_configurationimportNetworkConfigurationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintnetwork_configuration={"range":["1.3.7.2","255.255.255.252/30"],"whitelisted":true,"geolocation":["CA","FR","HT"]}# NetworkConfiguration | Network configuration creation request body. The following constraints ensure the request body conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.try:# Create security network configuration.Result=network_configuration.from_json(network_configuration)api_response=api_instance.create_auth_org_network_config(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_auth_org_network_config(Result)print("The response of GlobalTenantSecuritySettingsApi->create_auth_org_network_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling GlobalTenantSecuritySettingsApi->create_auth_org_network_config: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.network_configurationimportNetworkConfigurationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprinttry:# Get security network configuration.api_response=api_instance.get_auth_org_network_config()# Below is a request that includes all optional parameters# api_response = api_instance.get_auth_org_network_config()print("The response of GlobalTenantSecuritySettingsApi->get_auth_org_network_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling GlobalTenantSecuritySettingsApi->get_auth_org_network_config: %s\n"%e)
Update security network configuration.
This API updates an existing network configuration for an org using PATCH
Requires security scope of: 'sp:auth-org:manage'
A list of auth org network configuration update operations according to the JSON Patch standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v2024.models.network_configurationimportNetworkConfigurationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprint[{op=replace,path=/whitelisted,value=false,},{op=add,path=/geolocation,value=[AF,HN,ES]}]# List[JsonPatchOperation] | A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | A list of auth org network configuration update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Ensures that the patched Network Config conforms to certain logical guidelines, which are: 1. Each string element in the range array must be a valid ip address or ip subnet mask. 2. Each string element in the geolocation array must be 2 characters, and they can only be uppercase letters.try:# Update security network configuration.Result=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_auth_org_network_config(Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_auth_org_network_config(Result)print("The response of GlobalTenantSecuritySettingsApi->patch_auth_org_network_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling GlobalTenantSecuritySettingsApi->patch_auth_org_network_config: %s\n"%e)