Conversation
Owner
PakitoSec
commented
Feb 3, 2026
- Implement tests for refang and defang functions to ensure proper handling of defanged URLs and email addresses.
- Create tests for URL extraction covering various protocols, defanged URLs, and encoded formats.
- Add tests for IP address extraction, including IPv4 and IPv6, with defanged variations.
- Implement email extraction tests to validate standard and defanged formats.
- Add hash extraction tests for MD5, SHA1, SHA256, and SHA512, including case insensitivity and deduplication.
- Create domain extraction tests to validate standard domains and defanged formats.
- Implement combined extraction tests to ensure all observable types are extracted correctly.
- Add tests for extracting observables from URLs and CLI commands.
- Include edge case tests for empty input, whitespace, and mixed content formats.
- Implement tests for refang and defang functions to ensure proper handling of defanged URLs and email addresses. - Create tests for URL extraction covering various protocols, defanged URLs, and encoded formats. - Add tests for IP address extraction, including IPv4 and IPv6, with defanged variations. - Implement email extraction tests to validate standard and defanged formats. - Add hash extraction tests for MD5, SHA1, SHA256, and SHA512, including case insensitivity and deduplication. - Create domain extraction tests to validate standard domains and defanged formats. - Implement combined extraction tests to ensure all observable types are extracted correctly. - Add tests for extracting observables from URLs and CLI commands. - Include edge case tests for empty input, whitespace, and mixed content formats.
…occurrence counting - Added support for markdown output formats (`markdown` and `markdown-table`) in the `cyvest.extract` module. - Implemented occurrence counting for extracted observables, allowing tracking of duplicates. - Updated CLI to include new options for markdown output, including title, grouping by type, and original text inclusion. - Enhanced `ExtractedObservable` class to include a count attribute and methods for markdown serialization. - Added tests for new markdown output features and occurrence counting functionality.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.