-
Notifications
You must be signed in to change notification settings - Fork 2.8k
refactor(misconf): Use id
and long_id
for misconfig checks
#9062
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
base: main
Are you sure you want to change the base?
Conversation
7d331c8
to
375c1ea
Compare
c155464
to
e6be970
Compare
6ca5385
to
53d170a
Compare
Actually, good question. I thought about it and there's a way to not have this, we'll have to add aliases. I couldn't find any good way to automate this addition of aliases. I also didn't try hard enough but if we do decide to change IDs, let's do it in a separate PR. It would be something along the lines of AWS0001, GCP0001 etc. |
In that case, should we first discuss and decide on the new format of id checks and make all the changes in trivy-checks and then update trivy-checks in trivy and at the same time update id to the new format so that the changes are consistent and avoid errors? |
I've updated the IDs here aquasecurity/trivy-checks#441 I also removed this logic which as we discussed offline, seems unnecessary 80046a0 |
I feel that these changes are very radical and could affect a lot of people. What if we split the changes into two parts: |
Simar created a discussion with the news a month ago #8969 . This will only affect users who process reports manually, such as using the
Even then, it would be a breaking change because the ID would change. |
Usually we mark a field as deprecated and only after a few releases (e.g. we remove the AWS command after 1 year) we remove the field. But I don't know all the use cases. If you are sure that it is not that critical for users - let's remove the field |
Yes I was going to suggest the same |
e209f11
to
e9f1729
Compare
Signed-off-by: nikpivkin <[email protected]>
@nikpivkin should we also bump the major version (for the checks bundle) as part of this PR? |
8c0c027
to
1c0f71e
Compare
Description
Use
id
andlong_id
for misconfig checksRelated PRs
Related Discussions
Checklist