diff --git a/plugins/active_directory_ldap/.CHECKSUM b/plugins/active_directory_ldap/.CHECKSUM index efa6f54961..9011fe1c85 100644 --- a/plugins/active_directory_ldap/.CHECKSUM +++ b/plugins/active_directory_ldap/.CHECKSUM @@ -1,5 +1,5 @@ { - "spec": "e142cdd27ff2f9167f0deb3eff5bc0cb", + "spec": "d5dfdb03974651b69e5a02256df71e03", "manifest": "5d016144fec71b932d8182d5c1a7f81d", "setup": "def3e06498eabadbc9aaa7270aff8be6", "schemas": [ diff --git a/plugins/active_directory_ldap/help.md b/plugins/active_directory_ldap/help.md index d8955d0611..c1cac9be9a 100644 --- a/plugins/active_directory_ldap/help.md +++ b/plugins/active_directory_ldap/help.md @@ -177,13 +177,15 @@ Disable multiple accounts |Name|Type|Default|Required|Description|Enum|Example| | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -|distinguished_names|[]string|None|True|The distinguished names of the users to disable|None|['CN=user,OU=domain_users,DC=example,DC=com']| +|distinguished_names|[]string|None|True|The distinguished names of the users to disable|None|["CN=user,OU=domain_users,DC=example,DC=com"]| Example input: ``` { - "distinguished_names": "CN=user,OU=domain_users,DC=example,DC=com" + "distinguished_names": [ + "CN=user,OU=domain_users,DC=example,DC=com" + ] } ``` @@ -250,13 +252,15 @@ Enable multiple accounts |Name|Type|Default|Required|Description|Enum|Example| | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -|distinguished_names|[]string|None|True|The distinguished names of the users to enable|None|['CN=user,OU=domain_users,DC=example,DC=com']| +|distinguished_names|[]string|None|True|The distinguished names of the users to enable|None|["CN=user,OU=domain_users,DC=example,DC=com"]| Example input: ``` { - "distinguished_names": "CN=user,OU=domain_users,DC=example,DC=com" + "distinguished_names": [ + "CN=user,OU=domain_users,DC=example,DC=com" + ] } ``` @@ -429,7 +433,7 @@ Run an LDAP query |Name|Type|Default|Required|Description|Enum|Example| | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -|attributes|[]string|None|False|Attributes to search. If empty return all attributes|None|['createTimestamp', 'creatorsName']| +|attributes|[]string|None|False|Attributes to search. If empty return all attributes|None|["createTimestamp", "creatorsName"]| |search_base|string|None|True|The base of the search request|None|DC=example,DC=com| |search_filter|string|None|True|The filter of the search request. It must conform to the LDAP filter syntax specified in RFC4515|None|(sAMAccountName=joesmith)| @@ -437,7 +441,10 @@ Example input: ``` { - "attributes": "createTimestamp", + "attributes": [ + "createTimestamp", + "creatorsName" + ], "search_base": "DC=example,DC=com", "search_filter": "(sAMAccountName=joesmith)" } @@ -708,6 +715,7 @@ objectname is the logon name of the user you are looking for. The DN can then be the query results, and then using the variable step $item.dn # Version History + * 9.0.0 - Action: `Disable User` & `Enable User` - Rename title of actions from `Disable` & `Enable` to `Disable Users` & `Enable Users` on the front-end. * 8.0.0 - Update actions Enable Users and Enable Users to add outputs Completed and Failed and remove output All Operations Succeeded * 7.0.0 - Update actions Enable Users and Enable Users to replace output Success with All Operations Succeeded True/False diff --git a/plugins/active_directory_ldap/plugin.spec.yaml b/plugins/active_directory_ldap/plugin.spec.yaml index 75cb373317..6c06915a68 100644 --- a/plugins/active_directory_ldap/plugin.spec.yaml +++ b/plugins/active_directory_ldap/plugin.spec.yaml @@ -267,7 +267,7 @@ actions: description: Attributes to search. If empty return all attributes required: false type: '[]string' - example: ["createTimestamp", "creatorsName"] + example: '["createTimestamp", "creatorsName"]' output: results: title: Results @@ -391,7 +391,7 @@ actions: type: "[]string" description: The distinguished names of the users to enable required: true - example: ["CN=user,OU=domain_users,DC=example,DC=com"] + example: '["CN=user,OU=domain_users,DC=example,DC=com"]' output: completed: title: Completed @@ -431,7 +431,7 @@ actions: type: "[]string" description: The distinguished names of the users to disable required: true - example: ["CN=user,OU=domain_users,DC=example,DC=com"] + example: '["CN=user,OU=domain_users,DC=example,DC=com"]' output: completed: title: Completed