
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@renovosolutions/cdk-library-aws-organization
Advanced tools
AWS CDK Construct Library to manage specific AWS Organization resources
This CDK library is a WIP and not ready for production use.
Pre-reqs
Testing
yarn link
, but note you might need to set a static dependency for CDK versions or constructs
in the local app or you'll get errors about mismatched object types)cdk synth --no-staging > template.yml
sam local start-lambda -t template.yml
handler_tests
python files with pytest
like follows:TEST_ACCOUNT_NAME='<name>' TEST_ACCOUNT_EMAIL='<email>' TEST_ACCOUNT_ORIGINAL_OU='<original ou id>' ACCOUNT_LAMBDA_FUNCTION_NAME='<name you noted earlier>' OU_LAMBDA_FUNCTION_NAME='<name you noted earlier>' pytest ./handler_tests/<test file name>.py -rA --capture=sys
test.py
also looks up the root org id to run tests so you'll need to have AWS creds set up to accomodate that behavior.RUN_LOCALLY
env variableTEST_ACCOUNT_NAME='<name>' TEST_ACCOUNT_EMAIL='<email>' TEST_ACCOUNT_ORIGINAL_OU='<original ou id>' RUN_LOCALLY='false' ACCOUNT_LAMBDA_FUNCTION_NAME='<name you noted earlier>' OU_LAMBDA_FUNCTION_NAME='<name from AWS>' pytest ./handler_tests/<test file name>.py -rA --capture=sys
Moving OUs isn't supported by Organizations and would cause significant issues with keeping track of OUs in the CDK. Imagine a scenario like below:
OUAdmin
, and it has 2 children, OUChild1 and Account1
, that are also managed by the CDK stack.OUAdmin
to OUFoo
. The CDK would need to take the following actions:
OU
under OUFoo
with the name OUAdmin
OUAdmin
OU's children to the new OUAdmin
OUAdmin
OUAdmin
, any children OUs would be "lost" in this process and ugly to try and manage.The best way to move OUs would be to add additional OUs to your org then move any accounts as needed then proceed to delete the OUs, like so:
FAQs
AWS CDK Construct Library to manage specific AWS Organization resources
We found that @renovosolutions/cdk-library-aws-organization demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.