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:
Jordan Violet
2023-07-18 08:47:37 -05:00
committed by GitHub
8 changed files with 70 additions and 0 deletions

View File

@@ -225,3 +225,7 @@ if($enableDebug) {
LogToFile("Exiting beforeScript") 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.

View File

@@ -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 ### Correlation Rule
`PATCH` /v3/sources/{id} `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 ### WebServiceBeforeOperation Rule
`PATCH` /v3/sources/{id} `PATCH` /v3/sources/{id}

View File

@@ -88,3 +88,7 @@ Boolean “inactive” attribute in the map.
]]></Source> ]]></Source>
</Rule> </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.

View File

@@ -174,3 +174,7 @@ This rule performs provisioning actions from a provisioning plan provided by a s
]]></Source> ]]></Source>
</Rule> </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.

View File

@@ -82,3 +82,7 @@ This rule gathers additional attributes from SAP systems to build accounts. This
]]></Source> ]]></Source>
</Rule> </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.

View File

@@ -257,3 +257,7 @@ This rule is used by the SAP HR connector for provisioning of the data.
</Rule> </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.

View File

@@ -154,3 +154,7 @@ log.error("RULES processedResponseObject after is " + processedResponseObject);
]]></Source> ]]></Source>
</Rule> </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.

View File

@@ -139,3 +139,7 @@ import sailpoint.object.ProvisioningPlan.AccountRequest;
]]></Source> ]]></Source>
</Rule> </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.