[Cloud Posture] Remove runtime_cfg var#4496
Conversation
# Conflicts: # packages/cloud_security_posture/changelog.yml # packages/cloud_security_posture/manifest.yml
| - security | ||
| conditions: | ||
| kibana.version: "^8.5.0" | ||
| kibana.version: "^8.6.0" |
There was a problem hiding this comment.
🌐 Coverage report
|
| runtimeCfg: | ||
| activated_rules: | ||
| cis_eks: | ||
| - cis_3_1_4 |
There was a problem hiding this comment.
I might be wrong but I think you're missing indentation here
There was a problem hiding this comment.
It also works this way, but I'll change the indentation to be aligned with the original format
| activated_rules: | ||
| cis_eks: | ||
| - cis_3_1_4 | ||
| - cis_5_4_5 |
There was a problem hiding this comment.
do you mind sorting all the rules? it could be really helpful for scanning the list
| - security | ||
| conditions: | ||
| kibana.version: "^8.5.0" | ||
| kibana.version: "^8.6.0" |
kfirpeled
left a comment
There was a problem hiding this comment.
We should remove the declaration of runtimeCfg - otherwise it will still be present in the UI
I am not sure that I understand what you meant. |
Did you check it doesn't appear in the fleet UI? while editing/adding kspm integration |
| {{runtimeCfg}} | ||
| {{/if}} | ||
|
|
||
| runtimeCfg: |
There was a problem hiding this comment.
looking at cloudbeat tests I believe the key is runtime_cfg.
There was a problem hiding this comment.
Nice catch, I only caught it when I run the E2E test
|
Finish working on this one - it is blocked until we will deal with the forward-compatible mechanism |
It's more a deprecation of a feature, not changes in the structure, right? |
| # newer versions go on top | ||
| - version: "1.0.6" | ||
| changes: | ||
| - description: Removing the rule data yaml |
There was a problem hiding this comment.
| - description: Removing the rule data yaml | |
| - description: Removed `runtime_cfg` variable |
|
/test |
What does this PR do?
The following PR removes the usage of runtime_cfg and moves the configuration to be generated per kubernetes deployment using the hbs files
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues