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

[Osquery] Add packs #107345

Merged
merged 80 commits into from
Oct 18, 2021
Merged
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
a270750
W|P
patrykkopycinski Sep 22, 2021
eb2dd0d
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 22, 2021
8906d06
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 23, 2021
6022071
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 23, 2021
c5c044d
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 24, 2021
fff0dc8
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 25, 2021
4396ebb
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 27, 2021
7f6e055
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 27, 2021
5bad081
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 27, 2021
bccdf9f
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 28, 2021
901ef73
WIP
patrykkopycinski Sep 28, 2021
7cae0b0
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 28, 2021
677d792
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 28, 2021
6606460
update mapping
patrykkopycinski Sep 28, 2021
267ba94
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 29, 2021
36b905b
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 30, 2021
66b206a
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 30, 2021
b75e2c6
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Sep 30, 2021
493dbea
WIP
patrykkopycinski Oct 1, 2021
0b5de19
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 1, 2021
8570944
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 2, 2021
2907c06
WIP
patrykkopycinski Oct 2, 2021
88cdb3c
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 2, 2021
871fcae
cleanup
patrykkopycinski Oct 2, 2021
249af6b
WIP
patrykkopycinski Oct 3, 2021
35228a0
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 4, 2021
b887d85
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 4, 2021
2c72f6e
WIP
patrykkopycinski Oct 4, 2021
b6092bb
WIP
patrykkopycinski Oct 4, 2021
d16cf62
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 4, 2021
8eb5505
WIP
patrykkopycinski Oct 4, 2021
2d702e5
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 5, 2021
7ba0b1e
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 5, 2021
fa4965b
WIP
patrykkopycinski Oct 5, 2021
8768408
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 5, 2021
6bc6c79
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 5, 2021
ba35967
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 5, 2021
89b5db7
WIP
patrykkopycinski Oct 5, 2021
7c22d14
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 6, 2021
f1fcb8e
WIP
patrykkopycinski Oct 6, 2021
5915c78
cleanup
patrykkopycinski Oct 6, 2021
28873a5
cleanup
patrykkopycinski Oct 6, 2021
81c576d
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 7, 2021
f4ab9f9
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 7, 2021
7abf9b0
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 7, 2021
a9bd3ae
WIP
patrykkopycinski Oct 7, 2021
fe65c08
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 7, 2021
3008738
cleanup
patrykkopycinski Oct 7, 2021
5432123
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 10, 2021
9723e00
migration
patrykkopycinski Oct 10, 2021
bdf00fd
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 11, 2021
1c322a9
import
patrykkopycinski Oct 11, 2021
fde658e
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 11, 2021
7742d20
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 12, 2021
4adfd1b
cleanup
patrykkopycinski Oct 12, 2021
a404fe0
update mapping
patrykkopycinski Oct 12, 2021
4464bb9
update ecs
patrykkopycinski Oct 12, 2021
3fb05e4
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 12, 2021
5c1ff65
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 12, 2021
5fe4631
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 12, 2021
ee08550
fix
patrykkopycinski Oct 12, 2021
4f310b4
fix
patrykkopycinski Oct 12, 2021
d1af41d
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 12, 2021
3f03054
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 13, 2021
4fdf2eb
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 13, 2021
dc74a99
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 13, 2021
55a4f6a
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 14, 2021
778158a
cleanup
patrykkopycinski Oct 14, 2021
1e76283
fix
patrykkopycinski Oct 14, 2021
94e7bb8
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 14, 2021
09c75cf
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 14, 2021
3e07370
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 14, 2021
07488a1
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 14, 2021
98d172b
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 15, 2021
69bd6fe
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 17, 2021
8c2797d
cleanup
patrykkopycinski Oct 17, 2021
151dabf
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 17, 2021
a9bbc6f
react-query
patrykkopycinski Oct 17, 2021
4664873
Merge branch 'master' of github.com:elastic/kibana into feat/osquery-…
patrykkopycinski Oct 17, 2021
46d509d
fix migration
patrykkopycinski Oct 17, 2021
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
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,8 @@ module.exports = {
plugins: ['react', '@typescript-eslint'],
files: ['x-pack/plugins/osquery/**/*.{js,mjs,ts,tsx}'],
rules: {
// 'arrow-body-style': ['error', 'as-needed'],
// 'prefer-arrow-callback': 'error',
'arrow-body-style': ['error', 'as-needed'],
'prefer-arrow-callback': 'error',
'no-unused-vars': 'off',
'react/prop-types': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"react-moment-proptypes": "^1.7.0",
"react-monaco-editor": "^0.41.2",
"react-popper-tooltip": "^2.10.1",
"react-query": "^3.21.1",
"react-query": "^3.26.0",
"react-redux": "^7.2.0",
"react-resizable": "^1.7.5",
"react-resize-detector": "^4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const previouslyRegisteredTypes = [
'ml-module',
'ml-telemetry',
'monitoring-telemetry',
'osquery-pack',
'osquery-saved-query',
'osquery-usage-metric',
'osquery-manager-usage-metric',
Expand Down
3 changes: 2 additions & 1 deletion x-pack/plugins/fleet/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import {
getAgentById,
} from './services/agents';
import { registerFleetUsageCollector } from './collectors/register';
import { getInstallation } from './services/epm/packages';
import { getInstallation, ensureInstalledPackage } from './services/epm/packages';
import { makeRouterEnforcingSuperuser } from './routes/security';
import { startFleetServerSetup } from './services/fleet_server';
import { FleetArtifactsClient } from './services/artifacts';
Expand Down Expand Up @@ -283,6 +283,7 @@ export class FleetPlugin
esIndexPatternService: new ESIndexPatternSavedObjectService(),
packageService: {
getInstallation,
ensureInstalledPackage,
},
agentService: {
getAgent: getAgentById,
Expand Down
3 changes: 2 additions & 1 deletion x-pack/plugins/fleet/server/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { GetAgentStatusResponse } from '../../common';
import type { getAgentById, getAgentsByKuery } from './agents';
import type { agentPolicyService } from './agent_policy';
import * as settingsService from './settings';
import type { getInstallation } from './epm/packages';
import type { getInstallation, ensureInstalledPackage } from './epm/packages';

export { ESIndexPatternSavedObjectService } from './es_index_pattern';
export { getRegistryUrl } from './epm/registry/registry_url';
Expand All @@ -37,6 +37,7 @@ export interface ESIndexPatternService {

export interface PackageService {
getInstallation: typeof getInstallation;
ensureInstalledPackage: typeof ensureInstalledPackage;
}

/**
Expand Down
177 changes: 0 additions & 177 deletions x-pack/plugins/osquery/common/exact_check.test.ts

This file was deleted.

94 changes: 0 additions & 94 deletions x-pack/plugins/osquery/common/exact_check.ts

This file was deleted.

Loading