-
Notifications
You must be signed in to change notification settings - Fork 19
artifacts manifest update age, snapshot date #440
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
Conversation
Changes look good; can you please add the sample value to:
|
…json and package/endpoint/data_stream/policy/sample_event.json
done, thanks |
is there anything else I should do for this PR to make it reviewable? |
can anyone advise me if the remaining two Required checks are going to resolve itself with time or could I do anything to help it? I don't see any documentation in the repo how to deal with it. |
/test |
@intxgo - I'm seeing to following in the build logs:
it looks like the names should contain |
* global artifacts update age * adds make generated files * add sample value to package/endpoint/data_stream/alerts/sample_event.json and package/endpoint/data_stream/policy/sample_event.json * snapshot date
Package endpoint - 8.11.1 containing this change is available at https://epr.elastic.co/search?package=endpoint |
* global artifacts update age * adds make generated files * add sample value to package/endpoint/data_stream/alerts/sample_event.json and package/endpoint/data_stream/policy/sample_event.json * snapshot date
Package endpoint - 8.12.0 containing this change is available at https://epr.elastic.co/search?package=endpoint |
Package endpoint - 8.13.0 containing this change is available at https://epr.elastic.co/search?package=endpoint |
Change Summary
Add artifact snapshot date indicator. When artifacts are not pinned to any specific snapshot date the keyword 'latest' is used.
Add artifact up-to-date age indicator. It's equal to number of days since the local artifacts copy at Endpoint side was last time deemed up-to-date (the date when either Endpoint updated the artifacts or verified that it's artifacts are up-to-date with Elastic CDN).
Note, when artifacts are pinned to a specific snapshot date, the age always equal to the numbers of days since that date. In addition the initial artifacts shipped with the installation package age is equal to the number of days since the package creation date (endpoint build date).
Sample values
Artifacts made or verified to be up-to-date today:
"Endpoint.policy.applied.artifacts.global.update_age": 0
Artifacts 50 days old
"Endpoint.policy.applied.artifacts.global.update_age": 50
Artifacts pinned to
2023-09-26
snapshot date:"Endpoint.policy.applied.artifacts.global.snapshot": "2023-09-26"
Artifacts not pinned to any snapshot date:
"Endpoint.policy.applied.artifacts.global.snapshot": "latest"
Sample document:
Endpoint altert and Endpoint policy response:
Release Target
Q/A
For mapping changes:
make
after making the schema changes, and committed all changesmetadata
change, I also updated both transform destination schemas to matchFor Transform changes: