Skip to content

Commit

Permalink
feat(securitycenter): update the API
Browse files Browse the repository at this point in the history
#### securitycenter:v1p1alpha1
The following keys were added:
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.id
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.type
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.id
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.type

#### securitycenter:v1p1beta1
The following keys were added:
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.id
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.type
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.id
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.type

The following keys were changed:
- schemas.AuditConfig.description
- schemas.AuditLogConfig.description

#### securitycenter:v1
The following keys were added:
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.id
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.type
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.id
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.type

The following keys were changed:
- schemas.AuditConfig.description
- schemas.AuditLogConfig.description

#### securitycenter:v1beta1
The following keys were added:
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.description
- schemas.GoogleCloudSecuritycenterV1Resource.id
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1Resource.type
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.$ref
- schemas.GoogleCloudSecuritycenterV1p1beta1NotificationMessage.properties.resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.id
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.name.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parent.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.parentDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.project.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.description
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.properties.projectDisplayName.type
- schemas.GoogleCloudSecuritycenterV1p1beta1Resource.type

The following keys were changed:
- schemas.AuditConfig.description
- schemas.AuditLogConfig.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 12, 2020
1 parent fc6a878 commit 1d2a61a
Show file tree
Hide file tree
Showing 8 changed files with 496 additions and 16 deletions.
68 changes: 65 additions & 3 deletions discovery/securitycenter-v1.json
Expand Up @@ -1056,7 +1056,7 @@
}
}
},
"revision": "20200522",
"revision": "20200605",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -1128,7 +1128,7 @@
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
Expand All @@ -1146,7 +1146,7 @@
"type": "object"
},
"AuditLogConfig": {
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
Expand Down Expand Up @@ -1322,6 +1322,37 @@
"notificationConfigName": {
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1Resource",
"description": "The Cloud resource tied to this notification's Finding."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -1507,13 +1538,44 @@
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource",
"description": "The Cloud resource tied to the notification."
},
"temporalAsset": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset",
"description": "If it's an asset based notification config, this field will be\npopulated."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1p1beta1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": {
"description": "Response of asset discovery run",
"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse",
Expand Down
68 changes: 65 additions & 3 deletions discovery/securitycenter-v1beta1.json
Expand Up @@ -896,7 +896,7 @@
}
}
},
"revision": "20200522",
"revision": "20200605",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
Expand Down Expand Up @@ -964,7 +964,7 @@
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
"properties": {
"auditLogConfigs": {
Expand All @@ -982,7 +982,7 @@
"type": "object"
},
"AuditLogConfig": {
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
"id": "AuditLogConfig",
"properties": {
"exemptedMembers": {
Expand Down Expand Up @@ -1164,6 +1164,37 @@
"notificationConfigName": {
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1Resource",
"description": "The Cloud resource tied to this notification's Finding."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -1429,13 +1460,44 @@
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource",
"description": "The Cloud resource tied to the notification."
},
"temporalAsset": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset",
"description": "If it's an asset based notification config, this field will be\npopulated."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1p1beta1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": {
"description": "Response of asset discovery run",
"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse",
Expand Down
64 changes: 63 additions & 1 deletion discovery/securitycenter-v1p1alpha1.json
Expand Up @@ -230,7 +230,7 @@
}
}
},
"revision": "20200410",
"revision": "20200605",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -312,6 +312,37 @@
"notificationConfigName": {
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1Resource",
"description": "The Cloud resource tied to this notification's Finding."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -497,13 +528,44 @@
"description": "Name of the notification config that generated current notification.",
"type": "string"
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource",
"description": "The Cloud resource tied to the notification."
},
"temporalAsset": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1TemporalAsset",
"description": "If it's an asset based notification config, this field will be\npopulated."
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1Resource": {
"description": "\nInformation related to the Google Cloud resource.",
"id": "GoogleCloudSecuritycenterV1p1beta1Resource",
"properties": {
"name": {
"description": "The full resource name of the resource. See:\nhttps://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"parentDisplayName": {
"description": "\nThe human readable name of resource's parent.",
"type": "string"
},
"project": {
"description": "The full resource name of project that the resource belongs to.",
"type": "string"
},
"projectDisplayName": {
"description": "\nThe human readable name of project that the resource belongs to.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": {
"description": "Response of asset discovery run",
"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse",
Expand Down

0 comments on commit 1d2a61a

Please sign in to comment.