Skip to content

Commit 812558c

Browse files
authored
Duo Admin plugin.spec sync (#3037)
* Plugin.spec sync * plugin.spec sync
1 parent 9b08b6a commit 812558c

File tree

5 files changed

+15
-77
lines changed

5 files changed

+15
-77
lines changed

plugins/duo_admin/.CHECKSUM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"spec": "73c2331db15a7ec15ca36e7e166746d4",
2+
"spec": "4a94a77c37f17820e8768bb2850f6ee5",
33
"manifest": "672f0da4df4edb87ab669d69e435c5c7",
44
"setup": "8a8919e13bd1afe4849427d3dae6dbf4",
55
"schemas": [
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"identifier": "get_logs/schema.py",
20-
"hash": "ee359e5ea79a88b4597a5afaa739b793"
20+
"hash": "3502cb177351d18ff8a31266a49db228"
2121
},
2222
{
2323
"identifier": "get_phones_by_user_id/schema.py",
@@ -49,7 +49,7 @@
4949
},
5050
{
5151
"identifier": "monitor_logs/schema.py",
52-
"hash": "4119a8c82613406e16d830d7b48e0c86"
52+
"hash": "26f03015b329bc573a7e6f3a688fb861"
5353
}
5454
]
5555
}

plugins/duo_admin/help.md

Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -175,73 +175,13 @@ Example output:
175175
```
176176

177177
#### Get Authentication Logs
178-
178+
179179
This action is used to get auth logs, limited to past 180 days.
180-
[Currentmillis.com](https://currentmillis.com/) is useful for finding a usable UNIX timestamp.
181-
182-
Available inputs for parameters:
183-
184-
* `factors` - a comma-separated list of factors, if left empty, the action returns the authentication logs for all factors used for an authentication attempt
185-
* bypass_code
186-
* digipass_go_7_token
187-
* duo_mobile_passcode
188-
* duo_push
189-
* hardware_token
190-
* not_available
191-
* passcode
192-
* phone_call
193-
* remembered_device
194-
* sms_passcode
195-
* sms_refresh
196-
* trusted_network
197-
* u2f_token
198-
* yubikey_code
199-
* `reasons` - a comma-separated list of reasons, if left empty, the action returns the authentication logs for all reasons associated with an authentication attempt
200-
* allow_unenrolled_user
201-
* allow_unenrolled_user_on_trusted_network
202-
* allowed_by_policy
203-
* anomalous_push
204-
* anonymous_ip
205-
* bypass_user
206-
* call_timed_out
207-
* could_not_determine_if_endpoint_was_trusted
208-
* denied_by_policy
209-
* deny_unenrolled_user
210-
* endpoint_failed_google_verification
211-
* endpoint_is_not_in_management_system
212-
* endpoint_is_not_trusted
213-
* error
214-
* factor_restricted
215-
* invalid_device
216-
* invalid_management_certificate_collection_state
217-
* invalid_passcode
218-
* invalid_referring_hostname_provided
219-
* location_restricted
220-
* locked_out
221-
* no_activated_duo_mobile_account
222-
* no_disk_encryption
223-
* no_duo_certificate_present
224-
* no_keys_pressed
225-
* no_referring_hostname_provided
226-
* no_response
227-
* no_screen_lock
228-
* no_web_referer_match
229-
* out_of_date
230-
* platform_restricted
231-
* remembered_device
232-
* rooted_device
233-
* software_restricted
234-
* touch_id_disabled
235-
* trusted_location
236-
* trusted_network
237-
* user_approved
238-
* user_cancelled
239-
* user_disabled
240-
* user_marked_fraud
241-
* user_not_in_permitted_group
242-
* user_provided_invalid_certificate
243-
* valid_passcode
244-
* version_restricted
180+
[Currentmillis.com](https://currentmillis.com/) is
181+
useful for finding a usable UNIX timestamp.
182+
183+
Available inputs for parameters can be found in [Duo Admin API
184+
docs](https://duo.com/docs/adminapi#logs:~:text=The%20factor%20or%20method%20used%20for%20an%20authentication%20attempt.%20One%20of%3A)
245185

246186
##### Input
247187

@@ -1006,7 +946,7 @@ Example output:
1006946

1007947
## Troubleshooting
1008948

1009-
Many actions in this plugin take a User ID as input. A User ID is not the username - instead it's a unique identifier e.g. DU9I6T0F7R2S1J4XZHHA. A User ID can be obtained by passing a username to the Get User Status action.
949+
* Many actions in this plugin take a User ID as input. A User ID is not the username - instead it's a unique identifier e.g. DU9I6T0F7R2S1J4XZHHA. A User ID can be obtained by passing a username to the Get User Status action.
1010950

1011951
# Version History
1012952

plugins/duo_admin/komand_duo_admin/actions/get_logs/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class Component:
7-
DESCRIPTION = "Get auth logs, limited to past 180 days"
7+
DESCRIPTION = "This action is used to get auth logs, limited to past 180 days.[Currentmillis.com](https://currentmillis.com/) is useful for finding a usable UNIX timestamp.Available inputs for parameters can be found in [Duo Admin API docs](https://duo.com/docs/adminapi#logs:~:text=The%20factor%20or%20method%20used%20for%20an%20authentication%20attempt.%20One%20of%3A)"
88

99

1010
class Input:

plugins/duo_admin/komand_duo_admin/tasks/monitor_logs/schema.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ class MonitorLogsOutput(insightconnect_plugin_runtime.Output):
6464
"type": "array",
6565
"title": "Logs",
6666
"description": "List of administrator, authentication and trust monitor event logs within the specified time range",
67-
"items": {
68-
"type": "object"
69-
},
67+
"items": {},
7068
"required": [
7169
"logs"
7270
],

plugins/duo_admin/plugin.spec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ links:
4747
- "[Duo Security](https://duo.com/)"
4848
references:
4949
- "[Duo Admin API](https://duo.com/docs/adminapi)"
50-
troubleshooting: "Many actions in this plugin take a User ID as input. A User ID is not the username - instead it's a unique identifier e.g. DU9I6T0F7R2S1J4XZHHA. A User ID can be obtained by passing a username to the Get User Status action."
51-
50+
troubleshooting:
51+
- "Many actions in this plugin take a User ID as input. A User ID is not the username - instead it's a unique identifier e.g. DU9I6T0F7R2S1J4XZHHA. A User ID can be obtained by passing a username to the Get User Status action."
5252
version_history:
5353
- "5.0.2 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities"
5454
- "5.0.1 - Update to enable Plugin as FedRAMP ready | Update SDK (`6.1.2`)"
@@ -1075,7 +1075,7 @@ actions:
10751075
example: { "alias1": "alias1", "alias2": "alias2", "alias3": "alias3", "alias4": "alias4", "aliases": { "alias1": "alias1", "alias2": "alias2", "alias3": "alias3", "alias4": "alias4" }, "created": 1684765611, "email": "[email protected]", "isEnrolled": false, "notes": "Example", "realname": "Example", "status": "active", "userId": "DUCUULF6HBMZ43IG9MBH", "username": "Example" }
10761076
get_logs:
10771077
title: Get Authentication Logs
1078-
description: Get auth logs, limited to past 180 days
1078+
description: "This action is used to get auth logs, limited to past 180 days.\n[Currentmillis.com](https://currentmillis.com/) is useful for finding a usable UNIX timestamp.\n\nAvailable inputs for parameters can be found in [Duo Admin API docs](https://duo.com/docs/adminapi#logs:~:text=The%20factor%20or%20method%20used%20for%20an%20authentication%20attempt.%20One%20of%3A)"
10791079
input:
10801080
mintime:
10811081
title: Mintime

0 commit comments

Comments
 (0)