- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.iocAssociations.fetchRelatedThreatCollections
List related threat collections for an IocAssociation.
HTTP request
Path parameters
Parameters | |
---|---|
name |
Required. The name of the ioc association resource to get the threat collections for. Format: projects/{project}/locations/{location}/instances/{instance}/iocAssociations/{iocAssociation} |
Query parameters
Parameters | |
---|---|
threatCollectionType |
Required. The type of related threat collections to get. |
pageSize |
Optional. The maximum number of threat collections to return. The default is 10, and the maximum value is 40. |
pageToken |
Optional. A page token, received from a previous |
filter |
Optional. A filter that can be used to retrieve specific threat collections. Supported filters: - Text without modifiers: Collection's name, description or tag. - creation_date: Collection's creation date. - description: Collection's description. You can search for word or expressions (full-text search). - name: Collection's name. - owner: Collection's owner. - source_region: Collections's source region. You can use ISO 3166-1 alpha-2 country codes, the ISO or the full country name. - tag: Collection's tag. - targeted_industry: Collections's targeted industry. - targeted_region: Collections's targeted region. Same use as source_region. - threat_category: Collection's threat category. |
orderBy |
Optional. The order to sort the returned threat collections by. Default is descending last_modification_date. The supported order syntax matches the fields defined in the GTI API docs here: https://gtidocs.virustotal.com/reference/list-threats#allowed-orders Supported orders: - name: sorts objects alphabetically by name, ascending + or descending -. Name in this context refers to the displayName for a threat collection. -creation_date: sorts objects descending - (default) by most recently created objects first, or ascending + by oldest created objects first. This refers to the createTime field for a threat collection. - last_modification_date: sorts objects descending - by most recently modified objects first, or ascending + by firstly modified objects first. This refers to the updateTime field for a threat collection. |
Request body
The request body must be empty.
Response body
Response containing a list of threat collections for an IocAssociation. This is a legacy message soon to be deprecated to migrate to the ThreatCollectionService.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"threatCollections": [
{
object ( |
Fields | |
---|---|
threatCollections[] |
Output only. The list of ThreatCollections. |
nextPageToken |
Output only. A token that can be sent as |
totalSize |
Output only. The total number of ThreatCollections that match the request. The count of |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
chronicle.iocAssociations.fetchRelatedThreatCollections
For more information, see the IAM documentation.