Skip to content

Commit

Permalink
[Security Solution] Skip recently added tests for updating restricted…
Browse files Browse the repository at this point in the history
… fields in prebuilt rules (#195926)

## Summary

The new tests added yesterday in
#195318 have failed in the
periodic pipeline
([build](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/1408#019279c2-233d-405e-8758-7864b84d0524)).

Skipping for now in MKI pipelines (periodic pipeline and the 2nd quality
gate), otherwise it will block the next Serverless release.

Ticket for unskipping: #195921
  • Loading branch information
banderror authored Oct 11, 2024
1 parent d1babbe commit d57bc9a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ export default ({ getService }: FtrProviderContext) => {
});
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ export default ({ getService }: FtrProviderContext) => {
]);
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ export default ({ getService }: FtrProviderContext) => {
});
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', license: 'elastic' }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ export default ({ getService }: FtrProviderContext) => {
]);
});

it('throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Unskip: https://github.com/elastic/kibana/issues/195921
it('@skipInServerlessMKI throws an error if rule has external rule source and non-customizable fields are changed', async () => {
// Install base prebuilt detection rule
await createHistoricalPrebuiltRuleAssetSavedObjects(es, [
createRuleAssetSavedObject({ rule_id: 'rule-1', author: ['elastic'] }),
Expand Down

0 comments on commit d57bc9a

Please sign in to comment.