Skip to content

Conversation

@pinksawtooth
Copy link
Contributor

According to the documentation at https://gtidocs.virustotal.com/reference/list-hunting-rulesets, the intelligence/hunting_rulesets endpoint is designed to retrieve registered rulesets and does not require a rule_id parameter. I have removed the ruleset_id parameter and updated the function to support filter arguments instead.
Additionally, I have updated the type hints for get_entities_related_to_a_hunting_ruleset to align with this change.

image

As a separate issue, I also found a type hint mismatch in get_entities_related_to_a_file and fixed it using the same approach as before.

Before
image

After
image

@pinksawtooth pinksawtooth requested a review from a team July 2, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant