Conversation
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Introduces an initial Go implementation of a Continuous Compliance Framework plugin that executes Cloud Custodian policies in dry-run mode, converts results into a standardized payload, evaluates OPA policy bundles, and submits evidence via the agent runner API.
Changes:
- Add Cloud Custodian plugin implementation with config parsing, policy loading (inline/file/HTTP), check execution, standardized payload creation, OPA evaluation, and optional debug payload dumping.
- Add comprehensive unit tests for config parsing, policy loading/parsing, executor behavior, payload building, and eval-loop behavior.
- Add Go module scaffolding plus basic CI workflows and build tooling/docs updates.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
main.go |
Core plugin implementation: config parsing, policy resolution/parsing, custodian execution, payload creation, OPA evaluation, evidence submission, debug dumping. |
main_test.go |
Unit tests covering parsing, policy loading, executor behavior, payloads, and eval-loop error handling. |
go.mod |
Declares module and dependencies for the new plugin. |
go.sum |
Dependency checksums for the new module. |
README.md |
Documents AWS --region all behavior and new debug payload dumping config fields. |
Makefile |
Adds basic build/clean/help targets (currently includes an OPA CLI presence check). |
.gitignore |
Adds ignore entry for policies. |
.github/workflows/test.yml |
Adds reusable Go test workflow. |
.github/workflows/push.yml |
Runs tests on PRs and pushes. |
.github/workflows/release.yml |
Triggers release workflow on tags. |
.github/workflows/build-and-upload.yml |
Builds/releases artifacts and uploads via gooci. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.