Skip to content
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

[Cloud Security] [BUG] [CNVM] Cloudformation deployment doesn't appear when not installed to a newly created agent policy #155443

Closed
2 tasks
kfirpeled opened this issue Apr 20, 2023 · 2 comments · Fixed by #155045
Assignees
Labels
8.9 candidate bug Fixes for quality problems that affect the customer experience Team:Cloud Security Cloud Security team related verified Vulnerability Management

Comments

@kfirpeled
Copy link
Contributor

Motivation

In 8.8 when we introduced CNVM and CloudFormation deployment we allowed the user to create a new Agent Policy with CNVM and then let him/her deploy it using CloudFormation.

However, there are some edge cases which CloudFormation deployment won't be available to the user.
The root cause for it is having a variable in the input, that translates to saving these variables to the AgentPolicy instead of the PackagePolicy.

Steps to reproduce:

  1. Have an existing agent policy prior to 8.8 / Create an agent policy without CNVM
  2. Add CNVM
  3. Open agent deployment instructions (Add Agent)

Expected: CloudFormation deployment option is available
Actual: CloudFormation deployment option is missing

Screen.Recording.2023-04-20.at.13.38.54.mov

Definition of done

  • Understand how cloudformation data can be saved over the package policy instead of agent policy
  • Make sure we are backward compatible with existing Agent Policies from 8.8

Out of scope

Related tasks/epics

@kfirpeled kfirpeled added bug Fixes for quality problems that affect the customer experience Team:Cloud Security Cloud Security team related 8.9 candidate labels Apr 20, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@kfirpeled kfirpeled changed the title [Cloud Security] [BUG] [CNVM] Cloudformation deployment doesn't appear if not installed together with creating a new agent policy [Cloud Security] [BUG] [CNVM] Cloudformation deployment doesn't appear when not installed to a newly created agent policy Apr 20, 2023
@opauloh opauloh self-assigned this Apr 21, 2023
@oren-zohar
Copy link
Contributor

Verified:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.9 candidate bug Fixes for quality problems that affect the customer experience Team:Cloud Security Cloud Security team related verified Vulnerability Management
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants