Skip to content

Commit

Permalink
[Security Solution] Skip file operations tests until ES permissions i…
Browse files Browse the repository at this point in the history
…s fixed (#162787)

## Summary

Skip the broken File Operations tests until a permissions issue in ES is
fixed: #162760

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
kevinlog and kibanamachine authored Jul 31, 2023
1 parent 92db0d3 commit 3efb838
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ describe('CTI Enrichment', () => {
goToRuleDetails();
});

it('Displays enrichment matched.* fields on the timeline', () => {
// Skipped: https://github.com/elastic/kibana/issues/162818
it.skip('Displays enrichment matched.* fields on the timeline', () => {
const expectedFields = {
'threat.enrichments.matched.atomic': indicatorRuleMatchingDoc.atomic,
'threat.enrichments.matched.type': indicatorRuleMatchingDoc.matchedType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ describe('Response console', () => {
});
});

describe('File operations: get-file and execute', () => {
// Broken until this is fixed: https://github.com/elastic/kibana/issues/162760
describe.skip('File operations: get-file and execute', () => {
const homeFilePath = process.env.CI || true ? '/home/vagrant' : `/home/ubuntu`;

const fileContent = 'This is a test file for the get-file command.';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ describe('Response console', () => {
});
});

describe('`get-file` command', () => {
// Broken until this is fixed: https://github.com/elastic/kibana/issues/162760
describe.skip('`get-file` command', () => {
let endpointData: ReturnTypeFromChainable<typeof indexEndpointHosts>;
let endpointHostname: string;
let getFileRequestResponse: ActionDetails;
Expand Down

0 comments on commit 3efb838

Please sign in to comment.