steampipe plugin install oci

Table: oci_cloud_guard_managed_list - Query OCI Cloud Guard Managed Lists using SQL

Oracle Cloud Infrastructure (OCI) Cloud Guard is a security service that identifies security weaknesses and provides the necessary tools to investigate, track, and resolve these issues. Managed Lists in Cloud Guard are lists of resources that are managed by the service. These lists can include IP addresses, CIDR blocks, or specific users that are monitored for security threats.

Table Usage Guide

The oci_cloud_guard_managed_list table provides insights into managed lists within OCI Cloud Guard. As a security analyst, you can explore details about these lists, such as the resources included, the time they were created, and their current status. Use this table to gain a comprehensive overview of the resources being monitored by Cloud Guard, helping to identify potential security threats and improve the overall security posture of your OCI environment.

Examples

Basic info

Explore which cloud guard managed lists have been created, when they were established, and their current lifecycle state. This can help you understand the status and timeline of your cloud guard managed lists for better resource management.

select
name,
id,
time_created,
lifecycle_state as state
from
oci_cloud_guard_managed_list;
select
name,
id,
time_created,
lifecycle_state as state
from
oci_cloud_guard_managed_list;

List managed lists which are not active

Discover the segments that consist of managed lists in a non-active state. This can be useful to identify and assess potential areas that require attention or action in your cloud guard management.

select
name,
id,
time_created,
lifecycle_state as state
from
oci_cloud_guard_managed_list
where
lifecycle_state <> 'ACTIVE';
select
name,
id,
time_created,
lifecycle_state as state
from
oci_cloud_guard_managed_list
where
lifecycle_state <> 'ACTIVE';

Schema for oci_cloud_guard_managed_list

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
compartment_idtext=The OCID of the compartment in Tenant in which the resource is located.
defined_tagsjsonbDefined tags for resource. Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources.
descriptiontextManaged list description.
feed_providertextProvider of the feed.
freeform_tagsjsonbFree-form tags for resource. This tags can be applied by any user with permissions on the resource.
idtext=OCID for managed list.
is_editablebooleanIf this list is editable or not.
lifecycle_statetext=The current state of the managed list.
lifecyle_detailstextA message describing the current state in more detail.
list_itemsjsonbList of managed list item.
list_typetext=Type of the list.
nametext=ManagedList display name.
source_managed_list_idtextOCID of the source managed list.
system_tagsjsonbSystem tags for resource. System tags can be viewed by users, but can only be created by the system.
tagsjsonbA map of tags for the resource.
tenant_idtextThe OCID of the Tenant in which the resource is located.
tenant_nametextThe name of the Tenant in which the resource is located.
time_createdtimestamp with time zoneThe date and time the managed list was created.
time_updatedtimestamp with time zoneThe date and time the managed list was updated.
titletextTitle of the resource.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- oci

You can pass the configuration to the command with the --config argument:

steampipe_export_oci --config '<your_config>' oci_cloud_guard_managed_list