Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: read CA certs for network rules, add HTTPFileRules, AMIRules #117

Merged
merged 7 commits into from
Aug 1, 2024

Conversation

TylerGillson
Copy link
Member

@TylerGillson TylerGillson commented Aug 1, 2024

Issue

Resolves #112

Description

Add support for reading AMIRules & HTTPFileRules. Also read CA certificates for network plugin rules.

Requires:

Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
@TylerGillson TylerGillson requested a review from a team as a code owner August 1, 2024 16:36
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. new-feature Net-new feature labels Aug 1, 2024
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 65.53672% with 122 lines in your changes missing coverage. Please review.

Files Patch % Lines
pkg/services/validator/network.go 47.28% 39 Missing and 29 partials ⚠️
pkg/services/validator/aws.go 57.14% 29 Missing and 22 partials ⚠️
pkg/services/validator/common.go 50.00% 2 Missing and 1 partial ⚠️
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   50.80%   51.12%   +0.31%     
==========================================
  Files          44       44              
  Lines        4710     4937     +227     
==========================================
+ Hits         2393     2524     +131     
- Misses       1695     1751      +56     
- Partials      622      662      +40     
Files Coverage Δ
pkg/components/validator.go 60.12% <100.00%> (+0.25%) ⬆️
...integration/_validator/testcases/test_validator.go 94.83% <100.00%> (+0.37%) ⬆️
pkg/services/validator/common.go 47.29% <50.00%> (+0.11%) ⬆️
pkg/services/validator/aws.go 52.41% <57.14%> (+0.75%) ⬆️
pkg/services/validator/network.go 47.38% <47.28%> (-0.73%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbe19c5...16b899a. Read the comment docs.

Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 1, 2024
@TylerGillson TylerGillson merged commit 0c4487f into main Aug 1, 2024
8 checks passed
@TylerGillson TylerGillson deleted the feat/httpfile-rules branch August 1, 2024 18:20
TylerGillson added a commit that referenced this pull request Aug 6, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.0](v0.0.6...v0.1.0)
(2024-08-06)


### ⚠ BREAKING CHANGES

* split plugin rule configuration and installation into separate
commands
([#121](#121))

### Features

* add docs command; refactor to use embeddedfs pkg
([#116](#116))
([dbe19c5](dbe19c5))
* read CA certs for network rules, add HTTPFileRules, AMIRules
([#117](#117))
([0c4487f](0c4487f))
* support direct rule evaluation with `validator check --direct`
([#127](#127))
([f1fb0d6](f1fb0d6))


### Docs

* added subcommands docs page
([#110](#110))
([9fa23dc](9fa23dc))


### Dependency Updates

* **deps:** update github.com/validator-labs/validator-plugin-azure
digest to ba947e3
([#134](#134))
([2a1058d](2a1058d))
* **deps:** update github.com/validator-labs/validator-plugin-vsphere
digest to 9b1f05b
([#135](#135))
([253f328](253f328))


### Refactoring

* remove -s flag
([#126](#126))
([9373e02](9373e02))
* simplify helm prompts
([#115](#115))
([8ce75a1](8ce75a1))
* split plugin rule configuration and installation into separate
commands
([#121](#121))
([6eaee77](6eaee77))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer new-feature Net-new feature size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🌱 Bump all plugin versions & add/modify TUI support accordingly
2 participants