Skip to content

Commit

Permalink
[8.x] [Defend Workflows] Add advanced option to opt out from staged a…
Browse files Browse the repository at this point in the history
…rtifact rollout (#202674) (#203533)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Defend Workflows] Add advanced option to opt out from staged
artifact rollout
(#202674)](#202674)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gergő
Ábrahám","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T10:33:18Z","message":"[Defend
Workflows] Add advanced option to opt out from staged artifact rollout
(#202674)\n\n## Summary\r\n\r\nAdds advanced option called
`[os].advanced.artifacts.global.channel`,\r\ntargeting
`8.18`.\r\n\r\nText to review:\r\n> The release channel to use for
receiving global artifacts. By default,\r\nstaged roll-out is applied.
Set to rapid to receive candidate artifacts\r\nas soon as available. Set
to stable to only receive stable artifacts.\r\nDefault:
default\r\n\r\n\r\n<img width=\"793\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/309ff990-68a0-434c-aabc-c4ad52ce9737\">\r\n\r\n<img
width=\"525\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ecaea6f4-c525-4185-9901-d7613751840d\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"2e733f20a3e2f1c7938d4dac4ab0f3d026c6c535","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","Team:Defend
Workflows","release_note:feature","backport:prev-minor"],"title":"[Defend
Workflows] Add advanced option to opt out from staged artifact
rollout","number":202674,"url":"https://github.com/elastic/kibana/pull/202674","mergeCommit":{"message":"[Defend
Workflows] Add advanced option to opt out from staged artifact rollout
(#202674)\n\n## Summary\r\n\r\nAdds advanced option called
`[os].advanced.artifacts.global.channel`,\r\ntargeting
`8.18`.\r\n\r\nText to review:\r\n> The release channel to use for
receiving global artifacts. By default,\r\nstaged roll-out is applied.
Set to rapid to receive candidate artifacts\r\nas soon as available. Set
to stable to only receive stable artifacts.\r\nDefault:
default\r\n\r\n\r\n<img width=\"793\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/309ff990-68a0-434c-aabc-c4ad52ce9737\">\r\n\r\n<img
width=\"525\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ecaea6f4-c525-4185-9901-d7613751840d\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"2e733f20a3e2f1c7938d4dac4ab0f3d026c6c535"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202674","number":202674,"mergeCommit":{"message":"[Defend
Workflows] Add advanced option to opt out from staged artifact rollout
(#202674)\n\n## Summary\r\n\r\nAdds advanced option called
`[os].advanced.artifacts.global.channel`,\r\ntargeting
`8.18`.\r\n\r\nText to review:\r\n> The release channel to use for
receiving global artifacts. By default,\r\nstaged roll-out is applied.
Set to rapid to receive candidate artifacts\r\nas soon as available. Set
to stable to only receive stable artifacts.\r\nDefault:
default\r\n\r\n\r\n<img width=\"793\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/309ff990-68a0-434c-aabc-c4ad52ce9737\">\r\n\r\n<img
width=\"525\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ecaea6f4-c525-4185-9901-d7613751840d\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"2e733f20a3e2f1c7938d4dac4ab0f3d026c6c535"}}]}]
BACKPORT-->

Co-authored-by: Gergő Ábrahám <[email protected]>
  • Loading branch information
kibanamachine and gergoabraham authored Dec 10, 2024
1 parent e08b3a7 commit e3033e9
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [
}
),
},
{
key: 'linux.advanced.artifacts.global.channel',
first_supported_version: '8.18',
documentation: i18n.translate(
'xpack.securitySolution.endpoint.policy.advanced.linux.advanced.artifacts.global.channel',
{
defaultMessage:
'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default',
}
),
},
{
key: 'linux.advanced.artifacts.user.public_key',
first_supported_version: '7.9',
Expand Down Expand Up @@ -287,6 +298,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [
}
),
},
{
key: 'mac.advanced.artifacts.global.channel',
first_supported_version: '8.18',
documentation: i18n.translate(
'xpack.securitySolution.endpoint.policy.advanced.mac.advanced.artifacts.global.channel',
{
defaultMessage:
'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default',
}
),
},
{
key: 'mac.advanced.artifacts.user.public_key',
first_supported_version: '7.9',
Expand Down Expand Up @@ -512,6 +534,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [
}
),
},
{
key: 'windows.advanced.artifacts.global.channel',
first_supported_version: '8.18',
documentation: i18n.translate(
'xpack.securitySolution.endpoint.policy.advanced.windows.advanced.artifacts.global.channel',
{
defaultMessage:
'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default',
}
),
},
{
key: 'windows.advanced.artifacts.user.public_key',
first_supported_version: '7.9',
Expand Down

0 comments on commit e3033e9

Please sign in to comment.