johnduprey / duosecurity Goto Github PK
View Code? Open in Web Editor NEWPowerShell module for Duo Security REST APIs
License: MIT License
PowerShell module for Duo Security REST APIs
License: MIT License
I'm not able to authenticate to the Duo service. I run Set-DuoApiAuth, but no matter what I try I'm not able to get information.
What application in Duo is required? I have the Auth API and Duo API applications both setup and neither seem to work as expected. When you run the Set-DuoApiAuth the "Type" what's the difference between Accounts, Auth, and Admin. Does it matter which one you use since it appears you can run any command with any type. Does the type correspond to different applications in Duo?
Depending on the Duo app and type I get a variety of error messages either Access forbidden or Invalid identity in request credentials.
When attempting to get a create new user with New-DuoUser in the admin API, it seems to return an error referencing aliases. I was able to use Get-DuoUsers just fine. Specifying my own aliases for the user didn't seem to matter either.
code : 40002 message : Invalid request parameters message_detail : aliases stat : FAIL
Here is what I was running:
Set-DuoApiAuth @Auth
$username = "lukeskywalker"
$fullname = "Luke Skywalker"
$emaill = "[email protected]"
$aliases = @{alias1='goldleader'; alias2='redleader'}
New-DuoUser -Username $username -FullName $fullname -Email $email
Hi.
Is it possible to add the functionality to upload Device Identifiers for Trusted EndPoints? This would be an epic addition to this script.
Since a few days I get the
code message stat
40104 Missing request timestamp FAIL
on pretty much every function I run against the Admin API. After some digging I found out that you have to set the regional format to English (United States) for your invoke-request function to work.
Maybe you consider to update your XDuoDate Get function to also convert days and so on to English if possible.
My regional format was set to German where Wednesday is Mittwoch and therefore $XDuoDate contained Mi, 14...
Happen to have a suggestion on how to encrypt the integration key?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.