AWS CodeBuild Report Group

This page shows how to write Terraform and CloudFormation for CodeBuild Report Group and write them securely.

aws_codebuild_report_group (Terraform)

The Report Group in CodeBuild can be configured in Terraform with the resource name aws_codebuild_report_group. The following sections describe 5 examples of how to use the resource and its parameters.

Example Usage from GitHub

aws_codebuild_report_group.tf#L28
resource "aws_codebuild_report_group" "report_yesisonline" {
  name = "yesisonline report group"
  type = "TEST"

  export_config {
    type = "S3"
main.tf#L260
resource "aws_codebuild_report_group" "encrypted_report_group" {
  export_config {
    type = "S3"
    s3_destination {
      bucket = "some-bucket"
      encryption_disabled = false
main.tf#L260
resource "aws_codebuild_report_group" "encrypted_report_group" {
  export_config {
    type = "S3"
    s3_destination {
      bucket = "some-bucket"
      encryption_disabled = false
main.tf#L260
resource "aws_codebuild_report_group" "encrypted_report_group" {
  export_config {
    type = "S3"
    s3_destination {
      bucket = "some-bucket"
      encryption_disabled = false
main.tf#L26
resource "aws_codebuild_report_group" "non-encrypted" {
  name = "codebuild-report-group-non-kms-cmk-encrypted"
  type = "TEST"

  export_config {
    type = "S3"

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides a CodeBuild Report Groups Resource.

Tips: Best Practices for The Other AWS CodeBuild Resources

In addition to the aws_codebuild_project, AWS CodeBuild has the other resources that should be configured for security reasons. Please check some examples of those resources and precautions.

risk-label

aws_codebuild_project

Ensure to enable encryption of CodeBuild artifacts

It's better to protect CodeBuild project artifacts with default encryption.

Review your AWS CodeBuild settings

In addition to the above, there are other security points you should be aware of making sure that your .tf files are protected in Shisho Cloud.

AWS::CodeBuild::ReportGroup (CloudFormation)

The ReportGroup in CodeBuild can be configured in CloudFormation with the resource name AWS::CodeBuild::ReportGroup. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

Represents a report group. A report group contains a collection of reports.

Frequently asked questions

What is AWS CodeBuild Report Group?

AWS CodeBuild Report Group is a resource for CodeBuild of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS CodeBuild Report Group?

For Terraform, the yesisonline/DevOps, SnidermanIndustries/checkov-fork and bridgecrewio/checkov source code examples are useful. See the Terraform Example section for further details.