Skip to content

Commit

Permalink
Corrected the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
efreeti committed Nov 23, 2020
1 parent f73bcd5 commit cfb71cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const EXCEPTION_LIST_ITEM: ExceptionListItemSchema = {
description: 'Linux trusted app 1',
entries: [
createEntryMatch('process.executable.caseless', '/bin/malware'),
createEntryMatch('process.hash.md5', '1234234659AF249DDF3E40864E9FB241'),
createEntryMatch('process.hash.md5', '1234234659af249ddf3e40864e9fb241'),
],
item_id: '123',
list_id: 'endpoint_trusted_apps',
Expand All @@ -77,7 +77,7 @@ const NEW_TRUSTED_APP = {
os: 'linux',
entries: [
createConditionEntry(ConditionEntryField.PATH, '/bin/malware'),
createConditionEntry(ConditionEntryField.HASH, '1234234659AF249DDF3E40864E9FB241'),
createConditionEntry(ConditionEntryField.HASH, '1234234659af249ddf3e40864e9fb241'),
],
};

Expand All @@ -89,7 +89,7 @@ const TRUSTED_APP = {
description: 'Linux trusted app 1',
os: 'linux',
entries: [
createConditionEntry(ConditionEntryField.HASH, '1234234659AF249DDF3E40864E9FB241'),
createConditionEntry(ConditionEntryField.HASH, '1234234659af249ddf3e40864e9fb241'),
createConditionEntry(ConditionEntryField.PATH, '/bin/malware'),
],
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('service', () => {
os: 'linux',
entries: [
createConditionEntry(ConditionEntryField.PATH, '/bin/malware'),
createConditionEntry(ConditionEntryField.HASH, '1234234659AF249DDF3E40864E9FB241'),
createConditionEntry(ConditionEntryField.HASH, '1234234659af249ddf3e40864e9fb241'),
],
});

Expand Down

0 comments on commit cfb71cd

Please sign in to comment.