-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add aws-cli based role assumption for authn-iam (#190) * Typo in doc cybr_accounts_add (#192) * Typo in doc cybr_accounts_add Secret parameter should be -c, not -s * Update account.go * Bump golang.org/x/sys from 0.0.0-20220405052023-b1e9470b6e64 to 0.1.0 (#191) Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20220405052023-b1e9470b6e64 to 0.1.0. - [Release notes](https://github.com/golang/sys/releases) - [Commits](https://github.com/golang/sys/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Snyk] Security upgrade ubuntu from latest to 22.10 (#194) * fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3314672 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3314696 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3314792 - https://snyk.io/vuln/SNYK-UBUNTU2204-SYSTEMD-3098846 - https://snyk.io/vuln/SNYK-UBUNTU2204-TAR-3261138 * Set non-root `cybr` user as default --------- Co-authored-by: snyk-bot <[email protected]> * Update action versions & add Conjur fetching (#195) (#196) * Update action versions & add Conjur fetching * flip Go install to after source checkout * update go-version * go-version to version * version set to latest * add debug step * switch from authn-jwt to authn due to iat issues * Add unlock & checkin to cybr accounts (#199) * [Snyk] Security upgrade ubuntu from latest to kinetic (#197) * Update action versions & add Conjur fetching (#195) * Update action versions & add Conjur fetching * flip Go install to after source checkout * update go-version * go-version to version * version set to latest * add debug step * switch from authn-jwt to authn due to iat issues * fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2204-BASH-3098342 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-5296052 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-5296082 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-5425688 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-5425688 --------- Co-authored-by: snyk-bot <[email protected]> * Fixes #189 add support for cyberark identity authentication (#202) * Initial commit * Implement Identity check for httpjson * Update GitHub Workflows for successful tests (#200) * Update action versions & add Conjur fetching (#195) * Update action versions & add Conjur fetching * flip Go install to after source checkout * update go-version * go-version to version * version set to latest * add debug step * switch from authn-jwt to authn due to iat issues * Update README.md * Identity StartAuthentication implemented * refactored StartAuth * Began implementation of Password AdvanceAuth * Identity auth-type tested successfully * Added color to terminal * Update /docs * Updated README * Use platform discovery instead of requiring TenantID * Derive PCloud URL from Platform Discovery * Derive PCloud URL from Platform Discovery * Updated docs to remove tenant ID requirement * Fix 7 code smells * remove duplicate tests on v* branch * Only test on push * Fix go test failures * Generate new docs * Bump version to 1.0.0-release * add ReadInput function (#204) * Added SignOutSession function (#205) * Update Makefile * Add Polling of OOBPending (#206) * channel oob polling & otp input * Have otp code on same line * rm bin and add to .gitignore * Add .gitignore * Add version to binary release * Fixes #207 Add remaining scopes to cybr accounts change (#208) * Add remaining scopes to cybr accounts change * Remove VaultOnly tests & fix code smell * fixed account credentials unit tests * final unit tests fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Matias Siracusa <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: snyk-bot <[email protected]>
- Loading branch information
1 parent
770f9d1
commit ffd7d77
Showing
135 changed files
with
1,272 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
name: cybr-cli CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- v* | ||
push: | ||
branches-ignore: | ||
- main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
# vendor/ | ||
|
||
.DS_Store | ||
.dccache | ||
.dccache | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ | |
A "Swiss Army Knife" command-line interface (CLI) for easy human and non-human interaction with CyberArk's suite of products. | ||
|
||
Current products supported: | ||
* CyberArk Privileged Access Manager (PAM) | ||
* CyberArk Identity Security Platform Shared Services (ISPSS) | ||
* CyberArk Privilege Cloud SaaS | ||
* CyberArk Self-Hosted Privileged Access Manager (PAM) | ||
* CyberArk Secrets Manager Central Credential Provider (CCP) | ||
* CyberArk Conjur Secrets Manager Enterprise & [Open Source](https://conjur.org) | ||
* CyberArk Cloud Entitlements Manager ([Free trial](https://www.cyberark.com/try-buy/cloud-entitlements-manager/)) | ||
|
@@ -23,6 +25,9 @@ Current products supported: | |
- [Install from Source](#install-from-source) | ||
- [Usage](#usage) | ||
- [Authenticating with authn-iam (AWS IAM Role Authentication)](#authenticating-with-authn-iam-aws-iam-role-authentication) | ||
- [Authenticating to Privilege Cloud via ISPSS (Identity)](#authenticating-to-privilege-cloud-via-ispss-identity) | ||
- [Password Authentication](#password-authentication) | ||
- [MFA Authentication](#mfa-authentication) | ||
- [Documentation](#documentation) | ||
- [Autocomplete](#autocomplete) | ||
- [Example Source Code](#example-source-code) | ||
|
@@ -89,6 +94,39 @@ Once environment variables are set, ensure no .conjurrc or .netrc exists in the | |
|
||
Then run any command you wish to run within `cybr conjur`. Use the `--help` flag to see all available commands. | ||
|
||
### Authenticating to Privilege Cloud via ISPSS (Identity) | ||
|
||
You will need to know the following information to authenticate to Privilege Cloud via ISPSS: | ||
* `-b, --base-url` - The base URL of CyberArk Cloud (e.g. https://example.cyberark.cloud or https://example.privilegecloud.cyberark.cloud) | ||
* `-u, --username` - The username of the Privilege Cloud user (e.g. [email protected].1234) | ||
|
||
#### Password Authentication | ||
|
||
```shell | ||
$ cybr logon -u [email protected] -a identity -b https://example.cyberark.cloud | ||
+ Challenge #1 | ||
Enter password: | ||
``` | ||
|
||
After providing the password, if no other challenges are required, the CLI will handle the token exchange and a successful logon will be displayed. | ||
|
||
#### MFA Authentication | ||
|
||
If MFA is required, the CLI will prompt for the challenge method to use out of those available: | ||
|
||
```shell | ||
$ cybr logon -u [email protected] -a identity -b https://example.cyberark.cloud | ||
+ Challenge #1 | ||
Enter password: | ||
+ Challenge #2 | ||
1. Email... @joe-garcia.com | ||
2. SMS... XXX-1234 | ||
> 2 | ||
Enter code: 12341234 | ||
``` | ||
|
||
After providing the MFA code, if no other challenges are required, the CLI will handle the token exchange and a successful logon will be displayed. | ||
|
||
### Documentation | ||
|
||
All commands are documentated [in the docs/ directory](docs/cybr.md). | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.