Skip to content
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

Input Breaks on Long Inputs #1

Open
christian-taillon opened this issue Mar 5, 2024 · 0 comments
Open

Input Breaks on Long Inputs #1

christian-taillon opened this issue Mar 5, 2024 · 0 comments

Comments

@christian-taillon
Copy link
Member

christian-taillon commented Mar 5, 2024

An issue occurs when too many indicators are provided in the text body. After 292 indicators were passed, the next indicator was accepted as the $company$ for the ThreatConnect instance, which ungracefully breaks the script and pastes the remaining content to the console.

Determine the cause and create a solution that allows for a graceful warning or the use of a delay.

Processing Indicator: $indicator$, Type: ipv4
Request error occurred: HTTPSConnectionPool(host='$indicator$.threatconnect.com', port=443): Max retries exceeded with url: /api/v3/indicators?tql=typeName%20in%20%28%22Address%22%29%20and%20summary%20in%20%28%22$indicator$%22%29 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fbcfddfedd0>: Failed to resolve '$indicator$.threatconnect.com' ([Errno -2] Name or service not known)"))
No data returned from the query or an error occurred.

Note: $indicator$ has been substituted with the particular indicator submitted.

This may also be an issue with how input is handled.

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

No branches or pull requests

1 participant