Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ci
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cg-sandbox-bot

Code Climate

Monitor Cloud Foundry Cloud Controller users and create a sandbox space for known domains.

The sandbox bot monitors the cloud.gov UAA (User Account and Authentication) server for new accounts. If a new account is created with an email address at a federal domain name (using this list), it will automically create a user space within that organization in cloud.gov - creating a new organization if one does not already exist.

See also: https://github.com/18F/cg-sandbox - which purges sandbox resources.

Creating UAA client

uaac client add sandbox-bot \
	--name "UAA Sandbox Monitor" \
	--scope "cloud_controller.admin, cloud_controller.read, cloud_controller.write, openid, scim.read" \
	--authorized_grant_types "authorization_code, client_credentials, refresh_token" \
	-s [your-client-secret]

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

Automatically create sandbox spaces for whitelisted users

Resources

License

Releases

No releases published

Packages

No packages published

Languages