-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Test creating|copying a policy create a correct POLICY_CHANGE action #81661
[Fleet] Test creating|copying a policy create a correct POLICY_CHANGE action #81661
Conversation
Pinging @elastic/ingest-management (Team:Ingest Management) |
26b72ec
to
9367cbc
Compare
x-pack/test/ingest_manager_api_integration/apis/agent_policy/agent_policy_with_agents_setup.ts
Outdated
Show resolved
Hide resolved
x-pack/test/ingest_manager_api_integration/apis/agent_policy/agent_policy_with_agents_setup.ts
Outdated
Show resolved
Hide resolved
x-pack/test/ingest_manager_api_integration/apis/agent_policy/agent_policy_with_agents_setup.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It would be good to add additional tests for when an existing agent policy (or its package policies) is updated. Can be done in another PR if you agree.
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Description
Add missing tests for #81236, Resolve #81623
Ensure when we create or copy a policy a correct
POLICY_CHANGE
action is created