Repository navigation
artifacts manifest update age, snapshot date - #440
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": 0Artifacts 50 days old
"Endpoint.policy.applied.artifacts.global.update_age": 50Artifacts pinned to
2023-09-26snapshot 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:
{ "Endpoint": { "policy": { "applied": { "artifacts": { "global": { "update_age": 0, "snapshot": "latest", }, }Release Target
Q/A
For mapping changes:
makeafter making the schema changes, and committed all changesmetadatachange, I also updated both transform destination schemas to matchFor Transform changes: