Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusted Apps signer API. #83661

Merged
merged 26 commits into from
Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fccb3bf
Separated out service layer for trusted apps.
efreeti Nov 17, 2020
7892eba
Improved the type structure a bit to avoid using explicit string lite…
efreeti Nov 17, 2020
32b72d4
Added support for mapping of trusted app to exception item and back.
efreeti Nov 18, 2020
e3ed6b8
Changed schema to support signer in the API.
efreeti Nov 18, 2020
1809b8a
Renamed utils to mapping.
efreeti Nov 20, 2020
1482e8a
Exported some types in lists plugin and used them in trusted apps.
efreeti Nov 20, 2020
88cc210
Added tests for mapping.
efreeti Nov 20, 2020
25fa403
Added tests for service.
efreeti Nov 20, 2020
998a983
Switched deletion to use exceptions for not found case.
efreeti Nov 20, 2020
b71b32f
Added resetting of the mocks in service layer tests.
efreeti Nov 23, 2020
3597d1f
Added handlers tests.
efreeti Nov 23, 2020
729cfa3
Refactored mapping tests to be more granular based on the case.
efreeti Nov 23, 2020
35e2e22
Restored lowercasing of hash.
efreeti Nov 23, 2020
4ecafe0
Added schema tests for signer field.
efreeti Nov 23, 2020
1f57dec
Removed the grouped tests (they were split into tests for separate co…
efreeti Nov 23, 2020
f73bcd5
Merge branch 'master' of https://github.com/elastic/kibana into btsym…
efreeti Nov 23, 2020
cfb71cd
Corrected the tests.
efreeti Nov 23, 2020
dd88687
Lowercased the hashes in the service test.
efreeti Nov 23, 2020
66b1bc9
Moved the lowercasing to the right location.
efreeti Nov 23, 2020
3c62c54
Fixed the tests.
efreeti Nov 23, 2020
b2d9ffc
Added test for lowercasing hash value.
efreeti Nov 23, 2020
091cf48
Merge branch 'master' of https://github.com/elastic/kibana into btsym…
efreeti Nov 26, 2020
12bb122
Introduced OperatingSystem enum instead of current types.
efreeti Nov 30, 2020
68973fe
Merge branch 'master' of https://github.com/elastic/kibana into btsym…
efreeti Nov 30, 2020
39da5d1
Removed os list constant in favour of separate lists in places that u…
efreeti Nov 30, 2020
2ce2904
Fixed the missed OperatingSystem enum usage.
efreeti Nov 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions x-pack/plugins/lists/common/shared_exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export {
EntryList,
EntriesArray,
NamespaceType,
NestedEntriesArray,
Operator,
OperatorEnum,
OperatorTypeEnum,
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/lists/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { ListPlugin } from './plugin';

// exporting these since its required at top level in siem plugin
export { ListClient } from './services/lists/list_client';
export { CreateExceptionListItemOptions } from './services/exception_lists/exception_list_client_types';
export { ExceptionListClient } from './services/exception_lists/exception_list_client';
export { ListPluginSetup } from './types';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const telemetryIndexPattern = 'metrics-endpoint.telemetry-*';
export const LIMITED_CONCURRENCY_ENDPOINT_ROUTE_TAG = 'endpoint:limited-concurrency';
export const LIMITED_CONCURRENCY_ENDPOINT_COUNT = 100;

export const TRUSTED_APPS_SUPPORTED_OS_TYPES: readonly string[] = ['macos', 'windows', 'linux'];
export const TRUSTED_APPS_LIST_API = '/api/endpoint/trusted_apps';
export const TRUSTED_APPS_CREATE_API = '/api/endpoint/trusted_apps';
export const TRUSTED_APPS_DELETE_API = '/api/endpoint/trusted_apps/{id}';
Expand Down
Loading