Skip to content

[Cloud Posture] rule_number mapping update - #5054

Merged
oren-zohar merged 12 commits into
elastic:mainfrom
oren-zohar:moving-rule_number-field
Feb 12, 2023
Merged

[Cloud Posture] rule_number mapping update#5054
oren-zohar merged 12 commits into
elastic:mainfrom
oren-zohar:moving-rule_number-field

Conversation

@oren-zohar

@oren-zohar oren-zohar commented Jan 19, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

  • update the rule_number mapping
  • update rules templates

Related issues

@elasticmachine

elasticmachine commented Jan 19, 2023

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-02-12T15:22:18.546+0000

  • Duration: 14 min 26 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 Jan 19, 2023

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 3.421
Classes 100.0% (0/0) 💚 3.421
Methods 25.0% (1/4) 👎 -66.071
Lines 100.0% (0/0) 💚 8.626
Conditionals 100.0% (0/0) 💚
@oren-zohar oren-zohar changed the title [Cloud Posture] CSP rule_number mapping update Jan 19, 2023
@oren-zohar oren-zohar added Team:Cloud Security Cloud Security team [elastic/cloud-security-posture] Integration:cloud_security_posture Security Posture Management labels Jan 19, 2023
@oren-zohar
oren-zohar requested a review from ari-aviran January 19, 2023 13:53
@oren-zohar
oren-zohar marked this pull request as ready for review January 19, 2023 13:53
@oren-zohar
oren-zohar requested a review from a team as a code owner January 19, 2023 13:53
…field

# Conflicts:
#	packages/cloud_security_posture/changelog.yml
#	packages/cloud_security_posture/manifest.yml
@oren-zohar

Copy link
Copy Markdown
Contributor Author

/test

@oren-zohar

Copy link
Copy Markdown
Contributor Author

/test

1 similar comment
@orouz

orouz commented Feb 2, 2023

Copy link
Copy Markdown
Contributor

/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, please fix conflicts (maintain the prereleased version 1.2.10-next)

…field

# Conflicts:
#	packages/cloud_security_posture/changelog.yml
#	packages/cloud_security_posture/data_stream/findings/fields/rule.yml
#	packages/cloud_security_posture/manifest.yml
@oren-zohar

Copy link
Copy Markdown
Contributor Author

@ari-aviran ari-aviran 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.

Please review the comments before merging

Comment thread packages/cloud_security_posture/changelog.yml Outdated
@@ -1,18 +1,18 @@
{
"id": "1d3a468f-78ca-54ff-a43c-0d205ad832b7",
"id": "04e01d1a-d7d4-5020-a398-8aadd3fe32ae",

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.

Please test an upgrade from an earlier version of the integration to this version to ensure saved objects are deleted and re-installed properly since the IDs changed

},
"coreMigrationVersion": "8.7.0"
}
} No newline at end of file

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.

All of these are missing a line break at the end of the file, consider modifying the script and regenerating all the rules

@ari-aviran

Copy link
Copy Markdown
Contributor
@oren-zohar

Copy link
Copy Markdown
Contributor Author

@oren-zohar this also resolves elastic/csp-security-policies#142 right?

yes :)

@oren-zohar
oren-zohar merged commit aaeea77 into elastic:main Feb 12, 2023
@oren-zohar
oren-zohar deleted the moving-rule_number-field branch February 12, 2023 15:39
@elasticmachine

Copy link
Copy Markdown

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

bhapas pushed a commit to bhapas/integrations that referenced this pull request Feb 16, 2023
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

Integration:cloud_security_posture Security Posture Management Team:Cloud Security Cloud Security team [elastic/cloud-security-posture]

5 participants