MongoDB

Integration version: 6.0

Configure MongoDB integration in Google Security Operations

For detailed instructions on how to configure an integration inGoogle SecOps, seeConfigureintegrations.

Actions

Free Query

Description

Run a MongoDB query.

Parameters

ParameterTypeDefault ValueDescription
Database NameStringN/AThe DB name to run the query on.
Collection NameStringN/AThe collection name to run the query on.
QueryStringN/AThe key-value query. Default: {"key": "value"}.

Use cases

N/A

Run On

This action runs on all entities.

Action Results

Entity Enrichment

N/A

Insights

N/A

Script Result
Script Result NameValue OptionsExample
is_successTrue/Falseis_success:False
JSON Result
[{"_id":"5d36b5798777182dc002a9f3","field":"value"},{"_id":"5d36b5798777182dc002a9f4","field":"value"}]

Ping

Description

Test connectivity to MongoDB.

Parameters

N/A

Use cases

N/A

Run On

This action runs on all entities.

Action Results

Entity Enrichment

N/A

Insights

N/A

Script Result
Script Result NameValue OptionsExample
is_successTrue/Falseis_success:False
JSON Result
N/A

Need more help?Get answers from Community members and Google SecOps professionals.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.