Use this API to implement connector rule management functionality.
With this functionality in place, administrators can implement connector-executed rules in a programmatic, scalable way.
In Identity Security Cloud (ISC), rules serve as a flexible configuration framework you can leverage to perform complex or advanced configurations.
Connector-executed rules are rules that are executed in the ISC virtual appliance (VA), usually extensions of the connector itself, the bridge between the data source and ISC.
This API allows administrators to view existing connector-executed rules, make changes to them, delete them, and create new ones from the available types.
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.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.models.connector_rule_create_requestimportConnectorRuleCreateRequestfromsailpoint.beta.models.connector_rule_responseimportConnectorRuleResponsefromsailpoint.beta.restimportApiExceptionfrompprintimportpprintconnector_rule_create_request={"sourceCode":{"version":"1.0","script":"return \"Mr. \" + firstName;"},"signature":{"output":{"name":"firstName","description":"the first name of the identity","type":"String"},"input":[{"name":"firstName","description":"the first name of the identity","type":"String"},{"name":"firstName","description":"the first name of the identity","type":"String"}]},"name":"WebServiceBeforeOperationRule","description":"This rule does that","attributes":{},"type":"BuildMap"}# ConnectorRuleCreateRequest | The connector rule to createtry:# Create Connector RuleResult=connector_rule_create_request.from_json(connector_rule_create_request)api_response=api_instance.create_connector_rule(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_connector_rule(Result)print("The response of ConnectorRuleManagementApi->create_connector_rule:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->create_connector_rule: %s\n"%e)
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.restimportApiExceptionfrompprintimportpprintid='8c190e6787aa4ed9a90bd9d5344523fb'# str | ID of the connector rule to delete # str | ID of the connector rule to deletetry:# Delete a Connector-Ruleapi_instance.delete_connector_rule(id)# Below is a request that includes all optional parameters# api_instance.delete_connector_rule(id)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->delete_connector_rule: %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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.models.connector_rule_responseimportConnectorRuleResponsefromsailpoint.beta.restimportApiExceptionfrompprintimportpprintid='8c190e6787aa4ed9a90bd9d5344523fb'# str | ID of the connector rule to retrieve # str | ID of the connector rule to retrievetry:# Connector-Rule by IDapi_response=api_instance.get_connector_rule(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_connector_rule(id)print("The response of ConnectorRuleManagementApi->get_connector_rule:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->get_connector_rule: %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.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.models.connector_rule_responseimportConnectorRuleResponsefromsailpoint.beta.restimportApiExceptionfrompprintimportpprinttry:# List Connector Rulesapi_response=api_instance.get_connector_rule_list()# Below is a request that includes all optional parameters# api_response = api_instance.get_connector_rule_list()print("The response of ConnectorRuleManagementApi->get_connector_rule_list:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->get_connector_rule_list: %s\n"%e)
Update a Connector Rule
Updates an existing connector rule with the one provided in the request body. Note that the fields 'id', 'name', and 'type' are immutable.
A token with ORG_ADMIN authority is required to call this API.
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.
ListAccessModelMetadataAttribute401Response
-
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.models.connector_rule_responseimportConnectorRuleResponsefromsailpoint.beta.models.connector_rule_update_requestimportConnectorRuleUpdateRequestfromsailpoint.beta.restimportApiExceptionfrompprintimportpprintid='8c190e6787aa4ed9a90bd9d5344523fb'# str | ID of the connector rule to update # str | ID of the connector rule to updateconnector_rule_update_request={"sourceCode":{"version":"1.0","script":"return \"Mr. \" + firstName;"},"signature":{"output":{"name":"firstName","description":"the first name of the identity","type":"String"},"input":[{"name":"firstName","description":"the first name of the identity","type":"String"},{"name":"firstName","description":"the first name of the identity","type":"String"}]},"name":"WebServiceBeforeOperationRule","description":"This rule does that","attributes":{},"id":"8113d48c0b914f17b4c6072d4dcb9dfe","type":"BuildMap"}# ConnectorRuleUpdateRequest | The connector rule with updated data (optional)try:# Update a Connector Ruleapi_response=api_instance.update_connector_rule(id,)# Below is a request that includes all optional parameters# api_response = api_instance.update_connector_rule(id, Result)print("The response of ConnectorRuleManagementApi->update_connector_rule:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->update_connector_rule: %s\n"%e)
The status of the code's eligibility as a connector rule
ConnectorRuleValidationResponse
-
400
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.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
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.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.betafromsailpoint.beta.models.connector_rule_validation_responseimportConnectorRuleValidationResponsefromsailpoint.beta.models.source_codeimportSourceCodefromsailpoint.beta.restimportApiExceptionfrompprintimportpprintsource_code={"version":"1.0","script":"return \"Mr. \" + firstName;"}# SourceCode | The code to validatetry:# Validate Connector RuleResult=source_code.from_json(source_code)api_response=api_instance.validate_connector_rule(Result)# Below is a request that includes all optional parameters# api_response = api_instance.validate_connector_rule(Result)print("The response of ConnectorRuleManagementApi->validate_connector_rule:\n")pprint(api_response)exceptExceptionase:print("Exception when calling ConnectorRuleManagementApi->validate_connector_rule: %s\n"%e)