Skip to content

Commit

Permalink
Update input violations
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcnally-r7 committed Oct 10, 2023
1 parent d4a309f commit dcf47fe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion plugins/active_directory_ldap/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec": "e142cdd27ff2f9167f0deb3eff5bc0cb",
"spec": "d5dfdb03974651b69e5a02256df71e03",
"manifest": "5d016144fec71b932d8182d5c1a7f81d",
"setup": "def3e06498eabadbc9aaa7270aff8be6",
"schemas": [
Expand Down
20 changes: 14 additions & 6 deletions plugins/active_directory_ldap/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
```

Expand Down Expand Up @@ -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"
]
}
```

Expand Down Expand Up @@ -429,15 +433,18 @@ 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)|

Example input:

```
{
"attributes": "createTimestamp",
"attributes": [
"createTimestamp",
"creatorsName"
],
"search_base": "DC=example,DC=com",
"search_filter": "(sAMAccountName=joesmith)"
}
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions plugins/active_directory_ldap/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dcf47fe

Please sign in to comment.