-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Request diagnostics #142369
Merged
juliaElastic
merged 41 commits into
elastic:main
from
juliaElastic:feat/request-diagnostics
Nov 10, 2022
Merged
[Fleet] Request diagnostics #142369
Changes from 37 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
0ec98c2
request diagnostics action API
juliaElastic af2e1d6
agent diagnostics action UI
juliaElastic 7a47627
call diagnostics api when clicking button, added modal
juliaElastic 03e6ab6
showing diagnostics uploads list with mock data
juliaElastic 6cc9d88
Merge branch 'main' into feat/request-diagnostics
juliaElastic 478c3d5
bulk request diagnostics
juliaElastic c559655
query action status to show diagnostics status
juliaElastic f36b539
fix for failed status display
juliaElastic c0dcc51
changed implementation to query files index in /uploads API
juliaElastic 46b9000
Merge branch 'main' into feat/request-diagnostics
juliaElastic 383c4bf
Merge branch 'main' into feat/request-diagnostics
kibanamachine e795a39
implemented file download
juliaElastic ed1a5d1
changed implementation to add downlaod headers for file
juliaElastic d537961
added toast when a diagnostics became ready
juliaElastic f165ee7
added tests on request diagnostics and uploads
juliaElastic a15ba47
fixed checks
juliaElastic 4b7c5c5
fix checks
juliaElastic 30e16aa
Merge branch 'main' into feat/request-diagnostics
kibanamachine 6684a78
returning always octet stream when downloading file
juliaElastic 63202fc
Merge branch 'main' into feat/request-diagnostics
kibanamachine 6944bc2
Merge branch 'main' into feat/request-diagnostics
kibanamachine 099b1d2
Merge branch 'main' into feat/request-diagnostics
kibanamachine fc1192b
Merge branch 'main' into feat/request-diagnostics
kibanamachine 8c3d5d6
Merge branch 'main' into feat/request-diagnostics
juliaElastic e19e68c
Merge branch 'main' into feat/request-diagnostics
kibanamachine ccdca4a
Merge branch 'main' into feat/request-diagnostics
kibanamachine 26ad93c
Merge branch 'main' into feat/request-diagnostics
kibanamachine 02c6b5a
Merge branch 'main' into feat/request-diagnostics
juliaElastic f758d96
Update tsconfig.json
juliaElastic e61a15d
Merge branch 'main' into feat/request-diagnostics
kibanamachine 22ad451
fixed test
juliaElastic 0b56f04
Merge branch 'main' into feat/request-diagnostics
juliaElastic b164e02
[CI] Auto-commit changed files from 'node scripts/generate codeowners'
kibanamachine 448f0fa
Merge branch 'main' into feat/request-diagnostics
juliaElastic a486196
added feature flag to hide request diagnostics action
juliaElastic c0755cf
fixed checks
juliaElastic b3123fa
fixed test
juliaElastic 820edee
removed mock data and changed the query to return diagnostic files
juliaElastic 3cfaf2e
Merge branch 'main' into feat/request-diagnostics
juliaElastic d622ed3
fixed integration test
juliaElastic 89888ae
added error handling, extracted index names as constants
juliaElastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ export const allowedExperimentalValues = Object.freeze({ | |
createPackagePolicyMultiPageLayout: true, | ||
packageVerification: true, | ||
showDevtoolsRequest: true, | ||
showRequestDiagnostics: false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for adding this! |
||
}); | ||
|
||
type ExperimentalConfigKeys = Array<keyof ExperimentalFeatures>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add the new endpoints to the docs? It can be done in a separate PR as well