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

[SecuritySolution] Remove chartEmbeddablesEnabled feature flag and unused code #173675

Merged
merged 57 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
fd302e9
rm unused code
angorayc Dec 19, 2023
9257f91
Merge branch 'main' into issues-171287
angorayc Dec 20, 2023
24cf478
remove unused unused code - server
angorayc Dec 20, 2023
1a2e832
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Jan 30, 2024
7e2e488
alerts histograms
angorayc Jan 30, 2024
6363f15
fix i18n
angorayc Jan 30, 2024
50fd5ef
Merge branch 'main' into issues-171287
angorayc Feb 1, 2024
741a577
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Feb 19, 2024
bead5fa
unit tests
angorayc Feb 19, 2024
54a6107
Merge branch 'issues-171287' of github.com:angorayc/kibana into issue…
angorayc Feb 19, 2024
7da9092
unit tests
angorayc Feb 19, 2024
8809df3
fix types
angorayc Feb 20, 2024
5902d02
i18n
angorayc Feb 20, 2024
1236bce
Merge branch 'main' into issues-171287
angorayc Feb 20, 2024
937c7c4
fix missing imports
angorayc Feb 20, 2024
2c21cda
Merge branch 'issues-171287' of github.com:angorayc/kibana into issue…
angorayc Feb 20, 2024
fb85b57
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Mar 18, 2024
3c476a2
types
angorayc Mar 18, 2024
e1526dd
remove unused endpoint tests
angorayc Mar 18, 2024
01795dc
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Mar 20, 2024
7c6da7d
code review
angorayc Mar 22, 2024
31869b0
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Mar 22, 2024
fe70c06
fix types
angorayc Mar 22, 2024
c7b71bb
Merge branch 'main' into issues-171287
angorayc Mar 25, 2024
1f6c00c
Merge branch 'main' into issues-171287
angorayc Mar 27, 2024
8761252
Merge branch 'main' into issues-171287
angorayc Mar 27, 2024
d6986e3
Merge branch 'main' into issues-171287
angorayc Mar 29, 2024
bb0c42e
Merge branch 'main' into issues-171287
angorayc Apr 2, 2024
2ff2904
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Apr 3, 2024
e956204
Update x-pack/plugins/security_solution/common/search_strategy/common…
angorayc Apr 3, 2024
50fb2bd
code review
angorayc Apr 3, 2024
257927e
Merge branch 'issues-171287' of github.com:angorayc/kibana into issue…
angorayc Apr 3, 2024
6189f51
fix types
angorayc Apr 3, 2024
7c271df
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Apr 3, 2024
d83c728
lint error
angorayc Apr 4, 2024
5790e4e
Merge branch 'main' into issues-171287
angorayc Apr 8, 2024
602a0ea
Update x-pack/plugins/security_solution/public/common/components/matr…
angorayc Apr 8, 2024
cfc3db5
review
angorayc Apr 8, 2024
b644df9
Merge branch 'issues-171287' of github.com:angorayc/kibana into issue…
angorayc Apr 8, 2024
be09160
unit tests
angorayc Apr 8, 2024
a9c7cb0
remove unused props
angorayc Apr 8, 2024
15317ed
Merge branch 'main' of github.com:elastic/kibana into issues-171287
angorayc Apr 9, 2024
cceda82
Merge branch 'main' into issues-171287
angorayc Apr 9, 2024
2244797
Merge branch 'main' into issues-171287
angorayc Apr 10, 2024
dd568b6
Merge branch 'main' into issues-171287
angorayc Apr 10, 2024
8c2c776
Merge branch 'main' into issues-171287
angorayc Apr 10, 2024
d9073a9
Merge branch 'main' into issues-171287
angorayc Apr 10, 2024
24763a7
Merge branch 'main' into issues-171287
angorayc Apr 11, 2024
19e0aba
Merge branch 'main' into issues-171287
angorayc Apr 11, 2024
8b824d4
Merge branch 'main' into issues-171287
angorayc Apr 11, 2024
e34c9a1
Merge branch 'main' into issues-171287
angorayc Apr 12, 2024
9e7bf1f
Merge branch 'main' into issues-171287
angorayc Apr 12, 2024
8b99777
cypress
angorayc Apr 13, 2024
b2c10ec
Merge branch 'main' into issues-171287
angorayc Apr 14, 2024
5345907
Merge branch 'main' into issues-171287
kibanamachine Apr 14, 2024
ada4418
Merge branch 'main' into issues-171287
angorayc Apr 15, 2024
cca32f5
Merge branch 'main' into issues-171287
angorayc Apr 15, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ export * from './details';
export * from './overview';

export * from './uncommon_processes';

export * from './kpi_hosts';

export * from './kpi_unique_ips';

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,11 @@ import {
hostDetailsSchema,
hostOverviewSchema,
hostUncommonProcessesSchema,
kpiHostsSchema,
kpiUniqueIpsSchema,
} from './hosts/hosts';
import { matrixHistogramSchema } from './matrix_histogram/matrix_histogram';
import { networkDetailsSchema } from './network/details';
import { networkDnsSchema } from './network/dns';
import { networkHttpSchema } from './network/http';
import {
networkKpiDns,
networkKpiEvents,
networkKpiTlsHandshakes,
networkKpiUniqueFlows,
networkKpiUniquePrivateIps,
} from './network/kpi';

import { networkOverviewSchema } from './network/overview';
import { networkTlsSchema } from './network/tls';
import { networkTopCountriesSchema } from './network/top_countries';
Expand All @@ -50,10 +41,8 @@ import {
} from './risk_score/risk_score';

import {
authenticationsKpiSchema,
managedUserDetailsSchema,
observedUserDetailsSchema,
totalUsersKpiSchema,
userAuthenticationsSchema,
usersSchema,
} from './users/users';
Expand All @@ -64,8 +53,6 @@ export * from './hosts/hosts';

export * from './users/users';

export * from './matrix_histogram/matrix_histogram';

export * from './network/network';

export * from './related_entities/related_entities';
Expand All @@ -84,15 +71,11 @@ export const searchStrategyRequestSchema = z.discriminatedUnion('factoryQueryTyp
firstLastSeenRequestOptionsSchema,
allHostsSchema,
hostDetailsSchema,
kpiHostsSchema,
kpiUniqueIpsSchema,
hostOverviewSchema,
hostUncommonProcessesSchema,
usersSchema,
observedUserDetailsSchema,
managedUserDetailsSchema,
totalUsersKpiSchema,
authenticationsKpiSchema,
userAuthenticationsSchema,
hostsRiskScoreRequestOptionsSchema,
usersRiskScoreRequestOptionsSchema,
Expand All @@ -108,12 +91,6 @@ export const searchStrategyRequestSchema = z.discriminatedUnion('factoryQueryTyp
networkTopNFlowSchema,
networkTopNFlowCountSchema,
networkUsersSchema,
networkKpiDns,
networkKpiEvents,
networkKpiTlsHandshakes,
networkKpiUniqueFlows,
networkKpiUniquePrivateIps,
matrixHistogramSchema,
threatIntelSourceRequestOptionsSchema,
eventEnrichmentRequestOptionsSchema,
]);
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
* 2.0.
*/

import { z } from 'zod';
import { MatrixHistogramQuery } from '../model/factory_query_type';
import { inspect } from '../model/inspect';
import { requestBasicOptionsSchema } from '../model/request_basic_options';
import { runtimeMappings } from '../model/runtime_mappings';
import { timerange } from '../model/timerange';

export enum MatrixHistogramType {
authentications = 'authentications',
anomalies = 'anomalies',
Expand All @@ -20,37 +13,3 @@ export enum MatrixHistogramType {
dns = 'dns',
preview = 'preview',
}

export const matrixHistogramSchema = requestBasicOptionsSchema.extend({
histogramType: z.enum([
MatrixHistogramType.alerts,
MatrixHistogramType.anomalies,
MatrixHistogramType.authentications,
MatrixHistogramType.dns,
MatrixHistogramType.events,
MatrixHistogramType.preview,
]),
stackByField: z.string().optional(),
threshold: z
.object({
field: z.array(z.string()),
value: z.string(),
cardinality: z
.object({
field: z.array(z.string()),
value: z.string(),
})
.optional(),
})
.optional(),
inspect,
isPtrIncluded: z.boolean().default(false),
includeMissingData: z.boolean().default(true),
runtimeMappings,
timerange,
factoryQueryType: z.literal(MatrixHistogramQuery),
});

export type MatrixHistogramRequestOptionsInput = z.input<typeof matrixHistogramSchema>;

export type MatrixHistogramRequestOptions = z.infer<typeof matrixHistogramSchema>;
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,11 @@ export enum HostsQueries {
uncommonProcesses = 'uncommonProcesses',
}

export enum NetworkKpiQueries {
dns = 'networkKpiDns',
networkEvents = 'networkKpiNetworkEvents',
tlsHandshakes = 'networkKpiTlsHandshakes',
uniqueFlows = 'networkKpiUniqueFlows',
uniquePrivateIps = 'networkKpiUniquePrivateIps',
}

export enum HostsKpiQueries {
kpiHosts = 'hostsKpiHosts',
kpiUniqueIps = 'hostsKpiUniqueIps',
}

export enum UsersQueries {
observedDetails = 'observedUserDetails',
managedDetails = 'managedUserDetails',
kpiTotalUsers = 'usersKpiTotalUsers',
users = 'allUsers',
authentications = 'authentications',
kpiAuthentications = 'usersKpiAuthentications',
}

export enum NetworkQueries {
Expand All @@ -57,8 +42,6 @@ export enum CtiQueries {
dataSource = 'dataSource',
}

export const MatrixHistogramQuery = 'matrixHistogram';

export const FirstLastSeenQuery = 'firstlastseen';

export enum RelatedEntitiesQueries {
Expand All @@ -68,12 +51,9 @@ export enum RelatedEntitiesQueries {

export type FactoryQueryTypes =
| HostsQueries
| HostsKpiQueries
| UsersQueries
| NetworkQueries
| NetworkKpiQueries
| RiskQueries
| CtiQueries
| typeof MatrixHistogramQuery
| typeof FirstLastSeenQuery
| RelatedEntitiesQueries;

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export * from './dns';

export * from './http';

export * from './kpi';

export * from './overview';

export * from './tls';
Expand Down

This file was deleted.

Loading