Skip to content

ci: allow Trivy SARIF uploads to GHAS - #48

Merged
GaryGSC merged 2 commits into
mainfrom
fix/sarif-upload
Oct 28, 2026
Merged

GaryGSC merged 2 commits into
mainfrom
fix/sarif-upload

Conversation

@GaryGSC

@GaryGSC GaryGSC commented Oct 27, 2026

Copy link
Copy Markdown
Member

Grant security-events: write to the jobs using byu-oit/github-action-tf-plan-analyzer@v2 so the action can upload Trivy's SARIF results to GHAS.

Refs: byu-oit/github-action-tf-plan-analyzer#196

@GaryGSC
GaryGSC requested a review from a team October 27, 2026 21:40
@github-actions

Copy link
Copy Markdown

Plan for Terraform v-0.13.2:

will create 32 resources:

  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - zip_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg
  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - docker_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg

see details

@github-actions

Copy link
Copy Markdown

Plan for Terraform v-1.0.0:

will create 32 resources:

  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - zip_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg
  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - docker_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg

see details

@github-actions

Copy link
Copy Markdown

Plan for Terraform v-0.14.8:

will create 32 resources:

  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - zip_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg
  • aws_alb - alb
  • aws_alb_listener - http_to_https
  • aws_alb_listener - https
  • aws_alb_target_group - tg
  • aws_alb_target_group_attachment - live_attachment
  • aws_cloudwatch_log_group - log_group
  • aws_iam_role - iam_for_lambda
  • aws_iam_role_policy_attachment - lambda_cloudwatch_attach
  • aws_iam_role_policy_attachment - lambda_eni_attach
  • aws_lambda_alias - live
  • aws_lambda_function - docker_api
  • aws_lambda_permission - with_lb
  • aws_route53_record - a_record
  • aws_route53_record - aaaa_record
  • aws_security_group - alb-sg
  • aws_security_group - lambda_sg

see details

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@GaryGSC
GaryGSC merged commit 55e0680 into main Oct 28, 2026
8 checks passed
@GaryGSC
GaryGSC deleted the fix/sarif-upload branch October 28, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants