Skip to content

Commit e83c03f

Browse files
legregokibanamachine
authored andcommitted
Document telemetry fields for stack security features (#96638)
1 parent 6de70f8 commit e83c03f

2 files changed

Lines changed: 47 additions & 6 deletions

File tree

x-pack/plugins/security/server/usage_collector/security_usage_collector.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,49 @@ export function registerSecurityUsageCollector({ usageCollection, config, licens
5353
schema: {
5454
auditLoggingEnabled: {
5555
type: 'boolean',
56+
_meta: {
57+
description:
58+
'Indicates if audit logging is both enabled and supported by the current license.',
59+
},
5660
},
5761
loginSelectorEnabled: {
5862
type: 'boolean',
63+
_meta: {
64+
description: 'Indicates if the login selector UI is enabled.',
65+
},
5966
},
6067
accessAgreementEnabled: {
6168
type: 'boolean',
69+
_meta: {
70+
description:
71+
'Indicates if the access agreement UI is both enabled and supported by the current license.',
72+
},
6273
},
6374
authProviderCount: {
6475
type: 'long',
76+
_meta: {
77+
description:
78+
'The number of configured auth providers (including disabled auth providers).',
79+
},
6580
},
6681
enabledAuthProviders: {
6782
type: 'array',
6883
items: {
6984
type: 'keyword',
85+
_meta: {
86+
description:
87+
'The types of enabled auth providers (such as `saml`, `basic`, `pki`, etc).',
88+
},
7089
},
7190
},
7291
httpAuthSchemes: {
7392
type: 'array',
7493
items: {
7594
type: 'keyword',
95+
_meta: {
96+
description:
97+
'The set of enabled http auth schemes. Used for api-based usage, and when credentials are provided via reverse-proxy.',
98+
},
7699
},
77100
},
78101
},

x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3896,27 +3896,45 @@
38963896
"security": {
38973897
"properties": {
38983898
"auditLoggingEnabled": {
3899-
"type": "boolean"
3899+
"type": "boolean",
3900+
"_meta": {
3901+
"description": "Indicates if audit logging is both enabled and supported by the current license."
3902+
}
39003903
},
39013904
"loginSelectorEnabled": {
3902-
"type": "boolean"
3905+
"type": "boolean",
3906+
"_meta": {
3907+
"description": "Indicates if the login selector UI is enabled."
3908+
}
39033909
},
39043910
"accessAgreementEnabled": {
3905-
"type": "boolean"
3911+
"type": "boolean",
3912+
"_meta": {
3913+
"description": "Indicates if the access agreement UI is both enabled and supported by the current license."
3914+
}
39063915
},
39073916
"authProviderCount": {
3908-
"type": "long"
3917+
"type": "long",
3918+
"_meta": {
3919+
"description": "The number of configured auth providers (including disabled auth providers)."
3920+
}
39093921
},
39103922
"enabledAuthProviders": {
39113923
"type": "array",
39123924
"items": {
3913-
"type": "keyword"
3925+
"type": "keyword",
3926+
"_meta": {
3927+
"description": "The types of enabled auth providers (such as `saml`, `basic`, `pki`, etc)."
3928+
}
39143929
}
39153930
},
39163931
"httpAuthSchemes": {
39173932
"type": "array",
39183933
"items": {
3919-
"type": "keyword"
3934+
"type": "keyword",
3935+
"_meta": {
3936+
"description": "The set of enabled http auth schemes. Used for api-based usage, and when credentials are provided via reverse-proxy."
3937+
}
39203938
}
39213939
}
39223940
}

0 commit comments

Comments
 (0)