Skip to content

Add support for conditions in Cloud Security Posture#10298

Merged
kubasobon merged 3 commits intomainfrom
cloudbeat-conditions
Jul 25, 2024
Merged

Add support for conditions in Cloud Security Posture#10298
kubasobon merged 3 commits intomainfrom
cloudbeat-conditions

Conversation

@kubasobon
Copy link
Member

@kubasobon kubasobon commented Jun 28, 2024

Introduce condition support to Cloud Security Posture integrations

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

Closes elastic/cloudbeat#2144

Screenshots

Setting `condition` variable using API Screenshot 2024-07-18 at 11 18 47
`condition` evaluated to `true`, CIS K8s KSPM stream present Screenshot 2024-07-18 at 11 26 13
`condition` evaluated to `false`, CIS K8s KSPM stream absent Screenshot 2024-07-18 at 11 26 42

@kubasobon kubasobon added the enhancement New feature or request label Jun 28, 2024
@kubasobon kubasobon self-assigned this Jun 28, 2024
@elasticmachine
Copy link

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@kubasobon kubasobon force-pushed the cloudbeat-conditions branch from dd40eaf to dd419b1 Compare July 18, 2024 10:12
@kubasobon kubasobon force-pushed the cloudbeat-conditions branch from dd419b1 to 1338b40 Compare July 18, 2024 10:16
@elastic-sonarqube
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @kubasobon

@andrewkroh andrewkroh added Integration:cloud_security_posture Security Posture Management Team:Cloud Security Cloud Security team [elastic/cloud-security-posture] labels Jul 19, 2024
@kubasobon kubasobon marked this pull request as ready for review July 22, 2024 08:21
@kubasobon kubasobon requested a review from a team as a code owner July 22, 2024 08:21
@kubasobon kubasobon merged commit 968e35b into main Jul 25, 2024
@kubasobon kubasobon deleted the cloudbeat-conditions branch July 25, 2024 07:49
@elasticmachine
Copy link

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

@elasticmachine
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:cloud_security_posture Security Posture Management Team:Cloud Security Cloud Security team [elastic/cloud-security-posture]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supporting conditions configuration in CSPM/KSPM

4 participants