Skip to content

Dynamic and Filtering FirehoseDb Capability#153

Open
DavidIAm wants to merge 4 commits into
masterfrom
di/FirehoseScanWithWhiteBlackPatterns
Open

Dynamic and Filtering FirehoseDb Capability#153
DavidIAm wants to merge 4 commits into
masterfrom
di/FirehoseScanWithWhiteBlackPatterns

Conversation

@DavidIAm

Copy link
Copy Markdown
Contributor

Add capability to FirehoseDb to operate on streams without declaration of them in the config file. Balance that potential security hole with whitelist and blacklist patterns that can exclude unwanted streams from inversion visibility.

…n of them in the config file. Balance that potential security hole with whitelist and blacklist patterns that can exclude unwanted streams from inversion visibility.
@DavidIAm DavidIAm requested a review from wellsb1 August 12, 2023 22:47
// our defined aliases
Stream.of(includeStreams.split(",")).map(part -> part.split("\\|")).forEach(arr -> nameActuals.add(Pair.of(arr[0], arr.length > 1 ? arr[1] : arr[0])));

if (!empty(includeStreams))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit picky, avoid indenting the business logic and exit empty if includeStreams is empty.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. The logic wasn't even relevant any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants