This CDK construct creates an AWS Codebuild action to perform static code analysis using Sonarcloud.
Getting started
Here is how to include the construct in your CDK code :
const sonarcloudScan = new CDKCodeBuildSonarcloud(this, 'SonarcloudBuildAction', {
sourceOutput: sourceOutput,
sonarOrganizationName: 'my-sonarcloud-organization-name',
sonarProjectName: 'my-sonarcloud-project-name',
});
Check Here for an example on how to use the construct.
Security
A Sonarcloud account is required to use this construct. Create a Sonarcloud token to connect securely to Sonarcloud from AWS CodeBuild. Store this token in your AWS account in AWS Secret Manager, name the secret "sonar-token" and use "SONAR_TOKEN" as the secret key.
Please review the AWS Secret Manager security best practices in order to securely create and manage your secret.
Metadata
Release files for cdk-codebuild-sonarcloud 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdk_codebuild_sonarcloud-0.0.2.tar.gz | 31.3 kB | Without provenance | Details for cdk_codebuild_sonarcloud-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdk_codebuild_sonarcloud-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for cdk_codebuild_sonarcloud-0.0.2-py3-none-any.whl |
Total release size: 61.7 kB
Release files / cdk_codebuild_sonarcloud-0.0.2.tar.gz
| Download URL | cdk_codebuild_sonarcloud-0.0.2.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a3af84057ea0780a6cac68eabdce2368f0d645f5dfeb106945c5a40a1c5de70
|
|
BLAKE2b-256 checksum How to use checksums |
b2bcf85c38a16aed1dc969a369c6adadbefb66e5ecce044b08974f1946fdafd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / cdk_codebuild_sonarcloud-0.0.2-py3-none-any.whl
| Download URL | cdk_codebuild_sonarcloud-0.0.2-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
174cb3fec5dc2b76bc6acda71f1156a87c63589b02a791a34714cb035e270838
|
|
BLAKE2b-256 checksum How to use checksums |
fa008dae46b980635239ef936af616e1dc5b32431ec22ff34cbcc578c74fc9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for cdk-codebuild-sonarcloud 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.