-
Notifications
You must be signed in to change notification settings - Fork 76
Splunk2HDF Updates #2675
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
Merged
Merged
Splunk2HDF Updates #2675
Changes from 13 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
948e984
Don't assume descriptions is defined
camdenmoors 92047c4
Add Splunk Logging
camdenmoors 6a6b689
Add insecure mode
camdenmoors 1029179
Merge branch 'master' into splunkUpdates
camdenmoors b2d9632
Upload multiple items to collector at once
camdenmoors bed0792
Remove set index value, add hint for hostname field, fix profile subt…
camdenmoors ea4f2a0
Revert "Upload multiple items to collector at once"
camdenmoors 6a05eba
Add hint for admin
camdenmoors 0994aec
Remove spath.meta
camdenmoors 985e647
Use index="*"
camdenmoors 5efb07e
Set empty array for Profile.controls
camdenmoors f469d10
Log getExecution result
camdenmoors 1e9cd54
Use replaceKeyValue descriptions
camdenmoors 840b69f
Allow undefined return values, remove FileList log, increase timeout
camdenmoors a5f98bf
Add better error handling to SplunkReader, remove admin hint
camdenmoors 8da1f4c
Post test data to webhook
camdenmoors bcb7ae5
Update test data, remove webhook
camdenmoors 1d42282
Ignore LGTM issue and comment on insecure mode
camdenmoors 40c61ae
Allow passing custom search to SplunkReader
camdenmoors 782146c
Use notify for success message
camdenmoors 3506a13
Revert "Allow passing custom search to SplunkReader"
camdenmoors c743de6
Add title
camdenmoors ae94be8
Merge branch 'splunkUpdates' of https://github.com/mitre/heimdall2 in…
camdenmoors 09a6422
Clean up SplunkReader usability, add splunk-sdk to hdf-converters, de…
camdenmoors a304623
Switch to splunk-sdk for hdf2splunk, upload multiple events at once
camdenmoors d183b12
Switch to @mitre/splunk-sdk-no-env
camdenmoors f667092
Follow Sonarqube suggestions, update mapper tests
camdenmoors a16edd9
Update splunk_reverse_mapper.spec.ts
camdenmoors d101626
Don't redefine err, change debug to verbose
camdenmoors fb29915
[WIP] Move SplunkReader to splunk-sdk
camdenmoors f54c53d
Merge branch 'master' into splunkUpdates
camdenmoors a1492b7
Move Splunk2HDF into hdf-converters
camdenmoors 1b390d3
Lint, wait for all files to load before closing SplunkReader
camdenmoors c73752d
Remove duplicate splunk-sdk
camdenmoors c7c0525
Address code smells
camdenmoors a5f0311
Use JQuery provided by HTML Export
camdenmoors 1144dc1
Add Upload to Splunk from Heimdall
camdenmoors e3ac147
Merge branch 'splunkUpdates' of github.com:mitre/heimdall2 into splun…
camdenmoors 31e5b80
Use full path to jQuery
camdenmoors c41964f
Merge branch 'master' into splunkUpdates
camdenmoors d4696fc
Fix Matching for http(s), add Refresh to Splunk FileList
camdenmoors b7000f8
Merge branch 'master' into splunkUpdates
camdenmoors 18a6be8
Merge branch 'master' into splunkUpdates
camdenmoors 1c55ae9
Fix E2E Tests, Chunk Control Uploads (100/upload), Remove Insecure Fl…
camdenmoors a985bb4
Merge branch 'splunkUpdates' of github.com:mitre/heimdall2 into splun…
camdenmoors 4f43af2
Return onUpdateSearch consistently, clean execution query
camdenmoors 8a30618
Add login timeout error
camdenmoors 4be7f85
Add logging to splunk2hdf, remove export for local hdf2splunk variables
camdenmoors e180bca
Move parseSplunkResponse to a seperate function
camdenmoors 14a093a
Mark Overlaid Controls as "Overlaid Controls" in Splunk
camdenmoors 63846be
Update type for targetIndex
camdenmoors e51f6b1
!= !== !==
camdenmoors a5d5a1e
Allow any for Splunk types
camdenmoors 7a2d21f
Merge branch 'master' into splunkUpdates
camdenmoors dfc40b4
Add Non-AJAX Mode for Splunk Mapper
camdenmoors 4c6a2d2
Restore profile.status
camdenmoors 3c51f65
Merge branch 'splunkUpdates' of github.com:mitre/heimdall2 into splun…
camdenmoors f4c0b94
Reduce complexity of checkSplunkCredentials
camdenmoors 02d5dae
Merge branch 'master' into splunkUpdates
camdenmoors 910b6aa
Update help message
camdenmoors 4f5c91d
Merge branch 'splunkUpdates' of github.com:mitre/heimdall2 into splun…
camdenmoors 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import winston from 'winston'; | ||
|
|
||
| export function createWinstonLogger( | ||
| mapperName: string, | ||
| level = 'debug' | ||
| ): winston.Logger { | ||
| return winston.createLogger({ | ||
| transports: [new winston.transports.Console()], | ||
| level: level, | ||
| format: winston.format.combine( | ||
| winston.format.timestamp({ | ||
| format: 'MMM-DD-YYYY HH:mm:ss Z' | ||
| }), | ||
| winston.format.printf( | ||
| (info) => `[${[info.timestamp]}] ${mapperName} ${info.message}` | ||
| ) | ||
| ) | ||
| }); | ||
| } |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.