mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-06 04:19:31 +00:00
Merge pull request #308 from sailpoint-oss/devrel-afterCreateRuleDocUpdate
Update rule docs to show how to attach to a source
This commit is contained in:
@@ -225,3 +225,7 @@ if($enableDebug) {
|
||||
LogToFile("Exiting beforeScript")
|
||||
}
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#aftercreate-aftermodify-afterdelete-beforecreate-beforemodify-beforedelete-rules) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -117,6 +117,32 @@ Content-Type: `application/json-patch+json`
|
||||
]
|
||||
```
|
||||
|
||||
### AfterCreate, AfterModify, AfterDelete, BeforeCreate, BeforeModify, BeforeDelete Rules
|
||||
|
||||
`PATCH` /v3/sources/{id}
|
||||
|
||||
Content-Type: `application/json-patch+json`
|
||||
|
||||
:::info
|
||||
|
||||
The value key is a list. All available AfterCreate, AfterModify, BeforeCreate, and BeforeModify rules will need to be set in the same list.
|
||||
|
||||
:::
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"op": "add",
|
||||
"path": "/connectorAttributes/nativeRules",
|
||||
"value": [
|
||||
"Example Rule 1",
|
||||
"Example Rule 2"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
```
|
||||
|
||||
### Correlation Rule
|
||||
|
||||
`PATCH` /v3/sources/{id}
|
||||
@@ -205,6 +231,22 @@ Content-Type: `application/json-patch+json`
|
||||
]
|
||||
```
|
||||
|
||||
### SAP HR Provisioning Modify Rule
|
||||
|
||||
`PATCH` /v3/sources/{id}
|
||||
|
||||
Content-Type: `application/json-patch+json`
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"op": "add",
|
||||
"path": "/connectorAttributes/saphrModifyProvisioningRule",
|
||||
"value": "Example Rule"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
### WebServiceBeforeOperation Rule
|
||||
|
||||
`PATCH` /v3/sources/{id}
|
||||
|
||||
@@ -88,3 +88,7 @@ Boolean “inactive” attribute in the map.
|
||||
]]></Source>
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#jdbcbuildmap-rule) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -174,3 +174,7 @@ This rule performs provisioning actions from a provisioning plan provided by a s
|
||||
]]></Source>
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#jdbcprovision-rule) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -82,3 +82,7 @@ This rule gathers additional attributes from SAP systems to build accounts. This
|
||||
]]></Source>
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#buildmap-rule) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -257,3 +257,7 @@ This rule is used by the SAP HR connector for provisioning of the data.
|
||||
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#sap-hr-provisioning-modify-rule) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -154,3 +154,7 @@ log.error("RULES processedResponseObject after is " + processedResponseObject);
|
||||
]]></Source>
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#webserviceafteroperation-rule) for details on how to attach your rule to your source.
|
||||
|
||||
@@ -139,3 +139,7 @@ import sailpoint.object.ProvisioningPlan.AccountRequest;
|
||||
]]></Source>
|
||||
</Rule>
|
||||
```
|
||||
|
||||
## Attach to Source
|
||||
|
||||
Refer to [Attaching Connector-Related Rules to Sources](./index.md#webservicebeforeoperation-rule) for details on how to attach your rule to your source.
|
||||
|
||||
Reference in New Issue
Block a user