Security Command Center API . organizations

Instance Methods

assets()

Returns the assets Resource.

bigQueryExports()

Returns the bigQueryExports Resource.

eventThreatDetectionSettings()

Returns the eventThreatDetectionSettings Resource.

findings()

Returns the findings Resource.

locations()

Returns the locations Resource.

muteConfigs()

Returns the muteConfigs Resource.

notificationConfigs()

Returns the notificationConfigs Resource.

operations()

Returns the operations Resource.

resourceValueConfigs()

Returns the resourceValueConfigs Resource.

securityHealthAnalyticsSettings()

Returns the securityHealthAnalyticsSettings Resource.

simulations()

Returns the simulations Resource.

sources()

Returns the sources Resource.

close()

Close httplib2 connections.

getOrganizationSettings(name, x__xgafv=None)

Gets the settings for an organization.

updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)

Updates an organization's settings.

Method Details

close()
Close httplib2 connections.
getOrganizationSettings(name, x__xgafv=None)
Gets the settings for an organization.

Args:
  name: string, Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings". (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # User specified settings that are attached to the Security Command Center organization.
  "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
    "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
      "A String",
    ],
    "inclusionMode": "A String", # The mode to use for filtering asset discovery.
    "projectIds": [ # The project ids to use for filtering asset discovery.
      "A String",
    ],
  },
  "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.
  "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
}
updateOrganizationSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates an organization's settings.

Args:
  name: string, The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings". (required)
  body: object, The request body.
    The object takes the form of:

{ # User specified settings that are attached to the Security Command Center organization.
  "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
    "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
      "A String",
    ],
    "inclusionMode": "A String", # The mode to use for filtering asset discovery.
    "projectIds": [ # The project ids to use for filtering asset discovery.
      "A String",
    ],
  },
  "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.
  "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
}

  updateMask: string, The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # User specified settings that are attached to the Security Command Center organization.
  "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs.
    "folderIds": [ # The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
      "A String",
    ],
    "inclusionMode": "A String", # The mode to use for filtering asset discovery.
    "projectIds": [ # The project ids to use for filtering asset discovery.
      "A String",
    ],
  },
  "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.
  "name": "A String", # The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
}