From cfb955e385d85f8d6f8aa8266b2b219ac1bee39f Mon Sep 17 00:00:00 2001 From: semantic-release Date: Thu, 29 Aug 2024 12:01:15 +0000 Subject: [PATCH] 0.4.0 Automatically generated by python-semantic-release --- CHANGELOG.md | 503 +++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 504 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..bfbc32f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,503 @@ +# CHANGELOG + +## v0.4.0 (2024-08-29) + +### Documentation + +* docs: removes CODE_OF_CONDUCT.md (#24) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`ea1915f`](https://github.com/oscal-compass/compliance-to-policy/commit/ea1915f1aa93cf34973245b71136803bb212ebb9)) + +### Feature + +* feat: enhance release management (enable GitHub release and publish to PyPI) (#29) + +* fix: search key for rule should be Rule_Id (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* feat: add release automation (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix: manually install detect-secret to manage direct dependency packages out side Pypi (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix: Logo needs to be referenced by full url (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix: makefile for UT and trestle verion in UT (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix: replace namespace from ibm.github.com to oscal-compass.github.io (#28) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`1ebcfd8`](https://github.com/oscal-compass/compliance-to-policy/commit/1ebcfd8f5d7cc1e76497029280d269b1a5c84c92)) + +### Unknown + +* Merge pull request #26 from rahearn/update-trestle + +Update to compliance-trestle ~= 3.3 ([`b028bb1`](https://github.com/oscal-compass/compliance-to-policy/commit/b028bb16a251c7f0f65e8bdb740151577cc9f13e)) + +* Merge pull request #1 from yana1205/yana1205/update-trestle + +Update sample code to align compliance-trestle ~= 3.3 ([`a775146`](https://github.com/oscal-compass/compliance-to-policy/commit/a775146ef39435ed3d3c843d2646cd455a887246)) + +* Update sample code to align compliance-trestle ~= 3.3 + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`900b0ef`](https://github.com/oscal-compass/compliance-to-policy/commit/900b0ef8e06e7bb361967fa7868e71868eefb7ce)) + +* Update to compliance-trestle ~= 3.3 ([`2951f07`](https://github.com/oscal-compass/compliance-to-policy/commit/2951f074299ccbb0c769092d08ac6417505cb876)) + +* add a brief description, design, and goals of Compliance-to-Policy project (#19) (#21) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`53edf65`](https://github.com/oscal-compass/compliance-to-policy/commit/53edf65adcc9c90524036aa9881ba8134e17217d)) + +* Update README.md (#20) + +* fix logo size (#19) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* correct the description for Go version (#19) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`604b5a6`](https://github.com/oscal-compass/compliance-to-policy/commit/604b5a62d2e6ee953e1ebdb2954d1bf4ff1a08e2)) + +* Merge pull request #18 from yana1205/yana/log + +use non-transparent background logo ([`bcd764f`](https://github.com/oscal-compass/compliance-to-policy/commit/bcd764fcc61a2b66313b6971ba5ca25176ed2e27)) + +* use non-transparent background logo + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`03c22b2`](https://github.com/oscal-compass/compliance-to-policy/commit/03c22b2fe9f16cf93b462fd693d7d663b6aba4b5)) + +* update README to add compliance-to-policy logo (#17) + +* update README to add compliance-to-policy logo + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update version + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`eee9cd9`](https://github.com/oscal-compass/compliance-to-policy/commit/eee9cd9c3899abad42b281d853015429eec47027)) + +## v0.3.2 (2024-06-05) + +### Unknown + +* Merge pull request #16 from yana1205/yana/dev + +update README.md and version ([`194e8ae`](https://github.com/oscal-compass/compliance-to-policy/commit/194e8aecdc853860623e31214e886e2f4a569d41)) + +* update README.md and version + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`c453cff`](https://github.com/oscal-compass/compliance-to-policy/commit/c453cff5fc599cbd6d7d7b0f9550333f7835c0aa)) + +* Merge pull request #15 from yana1205/yana/heterogeneous + +add example usage of heterogeneous PVPs ([`7bdc7ac`](https://github.com/oscal-compass/compliance-to-policy/commit/7bdc7ac4357b69186a334f70b1b9e7e72dc53249)) + +* add example usage of heterogeneous PVPs + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`9721932`](https://github.com/oscal-compass/compliance-to-policy/commit/9721932d4bf5c264fda307671566d72bd5b0347b)) + +* Implement Auditree plugin (#14) + +* implement auditree plugin + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* format + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update documents, including auditree usage + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`2b0081c`](https://github.com/oscal-compass/compliance-to-policy/commit/2b0081cdd7e5e0850043ec71a8ed5392d7b9dc0e)) + +* Merge pull request #13 from oscal-compass/release + +update version to v0.3.1 ([`2744462`](https://github.com/oscal-compass/compliance-to-policy/commit/27444629cd479db4bebc6a17e6f9a76149d3f2ce)) + +## v0.3.1 (2024-05-02) + +### Unknown + +* update version to v0.3.1 + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`e116e93`](https://github.com/oscal-compass/compliance-to-policy/commit/e116e93ac9eefd08960b2f60f49b38b08be08a43)) + +* fix to add signature + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`ed206ac`](https://github.com/oscal-compass/compliance-to-policy/commit/ed206ac11ba04cb398e0883eac7f5b5cd611fc36)) + +* Merge pull request #11 from oscal-compass/dev + +switch to use static versioning ([`f7f19c2`](https://github.com/oscal-compass/compliance-to-policy/commit/f7f19c2ef548f17ab342381acfe2e2c623af3dc9)) + +* switch to use static versioning + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`7232edd`](https://github.com/oscal-compass/compliance-to-policy/commit/7232edd92bdf29e4d176ca43a9673010293a722e)) + +## v0.3.0 (2024-05-02) + +### Unknown + +* Move to Python project for easily to leverage Trestle (#10) + +* move go project to go/ + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update makefile to build cp2cli as submodule + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update docs for url changes + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* import c2p python project + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update README.md for message of deprecating C2P in Go + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add Code of Conduct, Contributor guide, and maintainers list + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* update go/README.md release guide + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`d8eb84e`](https://github.com/oscal-compass/compliance-to-policy/commit/d8eb84e68c5760fca81ef9acece0d81ad76b9f0e)) + +## v0.2.0 (2023-12-07) + +### Unknown + +* Merge pull request #9 from yana1205/up-to-date-ocm-plugin + +Up to date ocm plugin ([`36a42c8`](https://github.com/oscal-compass/compliance-to-policy/commit/36a42c86d1e245f4a0f5071e10f61fb94996a1f2)) + +* Add images for example use case + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`c3c2bb6`](https://github.com/oscal-compass/compliance-to-policy/commit/c3c2bb6f462a055438a9242dfb33364b8320aacd)) + +* Separate docs from C2P for OCM and C2P for Kyverno + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`84d3e4b`](https://github.com/oscal-compass/compliance-to-policy/commit/84d3e4bbb7c44fb158a00dd0b48708cf9cb6dcec)) + +* Move oscal2posture to subcommand 'tools' + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`fa24c87`](https://github.com/oscal-compass/compliance-to-policy/commit/fa24c874b58fce4b2f4dab4568bbb83998501ffd)) + +* Add end-to-end use case in .md + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`01d215e`](https://github.com/oscal-compass/compliance-to-policy/commit/01d215e34a223fd833db59f5bd9ae6ae0d45f675)) + +* Add version command + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`34d1ba2`](https://github.com/oscal-compass/compliance-to-policy/commit/34d1ba23d8cb14a082f42a86266451f46c5ee2be)) + +* add --results option to specify path to the directory of Policy Results + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`4352401`](https://github.com/oscal-compass/compliance-to-policy/commit/4352401f0ed8edbff4757e63e89896d8b5c24ae1)) + +* consolidate c2p configfile parser in each pvp + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`87450ea`](https://github.com/oscal-compass/compliance-to-policy/commit/87450ea2c45134ee753996dca04987b296cc2db5)) + +* -o option in result2oscal points output file instead of directory + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`882baa5`](https://github.com/oscal-compass/compliance-to-policy/commit/882baa53abaa46b4fbd3504a63963eba1874f4e4)) + +* Use List typed object + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`f990465`](https://github.com/oscal-compass/compliance-to-policy/commit/f9904654ee4b487d24f960ca717e6df19e7a59c4)) + +* Rename reporter to result2oscal + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`4ca1c16`](https://github.com/oscal-compass/compliance-to-policy/commit/4ca1c164c15010c3a8358594d807ef7e3039659f)) + +* Conversion to PolicyReport is no longer required + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`6ca8ef3`](https://github.com/oscal-compass/compliance-to-policy/commit/6ca8ef30ef9f85c7710cd37e98369f4e18cd67f5)) + +* Reuse oscal2posture implemented for C2P for Kyverno + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`cdb6913`](https://github.com/oscal-compass/compliance-to-policy/commit/cdb6913e748ccce011cd2d6124eacae04b1477f6)) + +* Align the latest OSCAL Assessment Results and consolidate ocm test data in ocm dedicated directory + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`fa87f02`](https://github.com/oscal-compass/compliance-to-policy/commit/fa87f02f6ae9ea0562796b5c4a43d80ba65db7eb)) + +* Merge pull request #8 from yana1205/main + +Update demo movie ([`67dd6b9`](https://github.com/oscal-compass/compliance-to-policy/commit/67dd6b9e155dc83459a56c024b41e94252b61433)) + +* Update demo movie + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`ebce623`](https://github.com/oscal-compass/compliance-to-policy/commit/ebce6233bde00912d011bf72609af024235fb6d4)) + +## v0.1.0 (2023-10-31) + +### Unknown + +* Fix goreleaser + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`a7103c2`](https://github.com/oscal-compass/compliance-to-policy/commit/a7103c2513bef713c99eeddb24e2e829902ece9c)) + +* Extend c2p for Kyverno as PVP/PEP (#7) + +* Add cmd to create policy resources from kyverno policy collection + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Add oscal2policy cmd for kyverno to c2pcli + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Implement results2oscal for kyverno + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Implement sample oscal2posture + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Consolidate commands relating with kyverno plugin + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Rename composer to oscal2policy and fix name and description of CLI args + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Consolidate command for tools for kyverno into kyverno plugin + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Rename former c2p ocm plugins + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Add sample cronjob for upsync + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Move assessment-results from c2p-config to command args + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Add coommand usage of C2P for Kyverno to readme + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* Move former c2p description for OCM to doc/ocm.md + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`f6a2831`](https://github.com/oscal-compass/compliance-to-policy/commit/f6a28310486d05ba20e43aef116a056f71a9f3f6)) + +* add sample usage movie (#6) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`c66ed08`](https://github.com/oscal-compass/compliance-to-policy/commit/c66ed081d88251d36bb3aa2ee76d0540b71bb199)) + +* Fix indent in README + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`50db9a6`](https://github.com/oscal-compass/compliance-to-policy/commit/50db9a6c58cf74c0dee5d3255aabd7bfbb2ae982)) + +* Redesign of C2P for pipeline use case (#3) + +* update k8s library version + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* decomposer outputs should contain only successfully decomposed policies + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* refactor + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* decomposed resources include policy-generator manifest + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* reuse policy-generator manifest generated at decomposition + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* composer takes OSCAL + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* composer generates policySet + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* composer takes c2pcr + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* refactor + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add templatized parameter filling + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add default namespace selector + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* refactor + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* use kustomize type provided by sigs.k8s.io + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add component-title annotation + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add reporter + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add placement_type and helpers + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* convert policy to policy report + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* compliance-report from policy reports + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* do not ommit the InformGatekeeper/KyvernoPolicies field + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* refactor + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* create c2pcli + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* enable gorelease + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* move policyResultDir parameter to c2pcr + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* generate reports as default + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add metadata to compliance report + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add scripts + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* separate generated OCM manifests and policy generator sources + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix NPE when unable to get statuses + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add scripts for setting up argocd + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* ocm status collector + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* generate md file + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* fix + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* add report-utils + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* use OCM gitops + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* remove the dependency on hub namepsace from Reporter + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* allow to use PolicyGenerator with empty namespace in PolicyDefaults + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +* upsate collector script + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> + +--------- + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`fba0dd8`](https://github.com/oscal-compass/compliance-to-policy/commit/fba0dd88012c13e1fe9f1aedef8a477c45ad1205)) + +* Initial implementation (#2) + +Signed-off-by: Takumi Yanagawa <yana@jp.ibm.com> ([`e9d9f53`](https://github.com/oscal-compass/compliance-to-policy/commit/e9d9f53110d586483ad4182b0bcc4f17bdf34da2)) + +* Initial commit ([`bad869f`](https://github.com/oscal-compass/compliance-to-policy/commit/bad869f330b6bc0b9d87e57db7ff5c8d44f5c853)) diff --git a/pyproject.toml b/pyproject.toml index fd21f61..1487686 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ package-dir = { "c2p" = "c2p" } include = ["c2p*"] [project] -version = "v0.3.3" +version = "0.4.0" name = "compliance-to-policy" authors = [{ name = "Takumi Yanagawa", email = "yana1205dev@gmail.com" }] description = "Tools to bridge Compliance and Policy"