Skip to content

Deactivates a provided list of users on the Veracode Platform.

License

Notifications You must be signed in to change notification settings

tjarrettveracode/veracode-offboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veracode Offboard

Uses the Veracode Identity API to deactivate a list of users.

Setup

Clone this repository:

git clone https://github.com/tjarrettveracode/veracode-offboard

Install dependencies:

cd veracode-offboard
pip install -r requirements.txt

(Optional) Save Veracode API credentials in ~/.veracode/credentials

[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>

Run

If you have saved credentials as above you can run:

python vcoffboard.py (arguments)

Otherwise you will need to set environment variables:

export VERACODE_API_KEY_ID=<YOUR_API_KEY_ID>
export VERACODE_API_KEY_SECRET=<YOUR_API_KEY_SECRET>
python vcoffboard.py (arguments)

Arguments supported include:

  • --usernames, -u : list of user names to deactivate, separated by spaces
  • --delete (opt): If set, deletes users rather than deactivating. Note that this is not reversible!

NOTES

  1. If --delete is not set, this script only deactivates users (by setting the Active flag to False). It does not delete them.

About

Deactivates a provided list of users on the Veracode Platform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages