Skip to content

[Cloud Posture] - remove state from csp-rule templates - #4878

Merged
ofiriro3 merged 9 commits into
elastic:mainfrom
ofiriro3:remove_state_from_csp_rule_template
Jan 10, 2023
Merged

[Cloud Posture] - remove state from csp-rule templates#4878
ofiriro3 merged 9 commits into
elastic:mainfrom
ofiriro3:remove_state_from_csp_rule_template

Conversation

@ofiriro3

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR removes the state from the csp-rule-templates

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Related issues

@ofiriro3 ofiriro3 added deprecation breaking change 8.7 candidate Team:Cloud Security Cloud Security team [elastic/cloud-security-posture] labels Dec 21, 2022
@ofiriro3 ofiriro3 linked an issue Dec 21, 2022 that may be closed by this pull request
14 tasks
@elasticmachine

elasticmachine commented Dec 21, 2022

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-01-10T08:50:39.950+0000

  • Duration: 14 min 9 sec

Test stats 🧪

Test Results
Failed 0
Passed 2
Skipped 0
Total 2

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

elasticmachine commented Dec 21, 2022

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 2.921
Classes 100.0% (0/0) 💚 2.921
Methods 25.0% (1/4) 👎 -65.362
Lines 100.0% (0/0) 💚 9.063
Conditionals 100.0% (0/0) 💚
@@ -1,4 +1,24 @@
# newer versions go on top
- version: "1.2.2"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unclear version bump.
can it be 1.1.3?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't go over it yet, it is still in draft.

But anyway, it's an important comment.

For sure it is not 1.2.2, I am not sure if we want it to be 1.1.3, since this change is a breaking change.
We deprecate two of the rules template fields.
Usually, when deprecating fields you bump either the major or the minor depending on the change and the impact on customers.

So what do you suggest in this case?

I think that 1.2.0 should be Ok since it is a deprecation, but it doesn't impact customers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.1.3 - was decided.

@ofiriro3
ofiriro3 changed the base branch from main to 1password_itemusage_action January 2, 2023 16:50
@ofiriro3
ofiriro3 changed the base branch from 1password_itemusage_action to main January 2, 2023 16:50
@ofiriro3
ofiriro3 marked this pull request as ready for review January 2, 2023 17:46
@ofiriro3
ofiriro3 requested a review from a team as a code owner January 2, 2023 17:46
@ofiriro3
ofiriro3 requested a review from kfirpeled January 2, 2023 17:46
@ofiriro3

ofiriro3 commented Jan 3, 2023

Copy link
Copy Markdown
Contributor Author

Was verified with Kibana

@ofiriro3

ofiriro3 commented Jan 4, 2023

Copy link
Copy Markdown
Contributor Author

/test

@kfirpeled kfirpeled left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ofiriro3
ofiriro3 merged commit 2c8a1d5 into elastic:main Jan 10, 2023
@ofiriro3
ofiriro3 deleted the remove_state_from_csp_rule_template branch January 10, 2023 09:18
@ofiriro3 ofiriro3 changed the title [Cloud security posture] - remove state from csp-rule templates Jan 10, 2023
@elasticmachine

Copy link
Copy Markdown

Package cloud_security_posture - 1.2.4 containing this change is available at https://epr.elastic.co/search?package=cloud_security_posture

orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.7 candidate breaking change deprecation Team:Cloud Security Cloud Security team [elastic/cloud-security-posture]

3 participants