From 5cb992c542a3e6ff812fccab211ada718ef8e6d5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 4 Jun 2021 20:11:50 +0200 Subject: [PATCH 1/3] chore(deps): update dependency google-cloud-securitycenter to v1.3.0 (#158) --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 61ca4671..946995ab 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,2 +1,2 @@ google-cloud-pubsub==2.5.0 -google-cloud-securitycenter==1.2.0 \ No newline at end of file +google-cloud-securitycenter==1.3.0 \ No newline at end of file From 89ca24b49c93737569b428dd7ca883de6429a41c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 10 Jun 2021 01:04:06 +0000 Subject: [PATCH 2/3] docs: update currently supported Finding filter fields (#159) PiperOrigin-RevId: 378264900 Source-Link: https://github.com/googleapis/googleapis/commit/020ba74ce6eab75b754f7f885a0096722bed57c1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b1413c12175a7c512a37077f2f9941b7c598a58e --- .coveragerc | 1 - .../types/securitycenter_service.py | 67 +++++++++++++------ 2 files changed, 47 insertions(+), 21 deletions(-) diff --git a/.coveragerc b/.coveragerc index f9eb6a20..3655af7f 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,7 +2,6 @@ branch = True [report] -fail_under = 100 show_missing = True omit = google/cloud/securitycenter/__init__.py diff --git a/google/cloud/securitycenter_v1/types/securitycenter_service.py b/google/cloud/securitycenter_v1/types/securitycenter_service.py index 2d5227a4..91f76fe4 100644 --- a/google/cloud/securitycenter_v1/types/securitycenter_service.py +++ b/google/cloud/securitycenter_v1/types/securitycenter_service.py @@ -435,27 +435,39 @@ class GroupFindingsRequest(proto.Message): - event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` - - severity: ``=``, ``:`` - Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: ``event_time = "2019-06-10T16:07:18-07:00"`` ``event_time = 1560208038000`` + - severity: ``=``, ``:`` + + - workflow_state: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` - For example, ``source_properties.size = 100`` is a valid - filter string. + For example, ``source_properties.size = 100`` is a valid + filter string. - Use a partial match on the empty string to filter based on a - property existing: ``source_properties.my_property : ""`` + Use a partial match on the empty string to filter based + on a property existing: + ``source_properties.my_property : ""`` - Use a negated partial match on the empty string to filter - based on a property not existing: - ``-source_properties.my_property : ""`` + Use a negated partial match on the empty string to filter + based on a property not existing: + ``-source_properties.my_property : ""`` + + - resource: + + - resource.name: ``=``, ``:`` + - resource.parent_name: ``=``, ``:`` + - resource.parent_display_name: ``=``, ``:`` + - resource.project_name: ``=``, ``:`` + - resource.project_display_name: ``=``, ``:`` + - resource.type: ``=``, ``:`` group_by (str): Required. Expression that defines what assets fields to use for grouping (including ``state_change``). The string value @@ -958,25 +970,40 @@ class ListFindingsRequest(proto.Message): - event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` - - severity: ``=``, ``:`` - Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: ``event_time = "2019-06-10T16:07:18-07:00"`` ``event_time = 1560208038000`` - security_marks.marks: ``=``, ``:`` source_properties: ``=``, - ``:``, ``>``, ``<``, ``>=``, ``<=`` + - severity: ``=``, ``:`` - For example, ``source_properties.size = 100`` is a valid - filter string. + - workflow_state: ``=``, ``:`` - Use a partial match on the empty string to filter based on a - property existing: ``source_properties.my_property : ""`` + - security_marks.marks: ``=``, ``:`` - Use a negated partial match on the empty string to filter - based on a property not existing: - ``-source_properties.my_property : ""`` + - source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, + ``<=`` + + For example, ``source_properties.size = 100`` is a valid + filter string. + + Use a partial match on the empty string to filter based + on a property existing: + ``source_properties.my_property : ""`` + + Use a negated partial match on the empty string to filter + based on a property not existing: + ``-source_properties.my_property : ""`` + + - resource: + + - resource.name: ``=``, ``:`` + - resource.parent_name: ``=``, ``:`` + - resource.parent_display_name: ``=``, ``:`` + - resource.project_name: ``=``, ``:`` + - resource.project_display_name: ``=``, ``:`` + - resource.type: ``=``, ``:`` + - resource.folders.resource_folder: ``=``, ``:`` order_by (str): Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma From df6d9c5f7bf8a365c91dd32bacc0bb69e5421999 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Jun 2021 13:06:02 +0000 Subject: [PATCH 3/3] chore: release 1.3.1 (#160) :robot: I have created a release \*beep\* \*boop\* --- ### [1.3.1](https://www.github.com/googleapis/python-securitycenter/compare/v1.3.0...v1.3.1) (2021-06-10) ### Documentation * update currently supported Finding filter fields ([#159](https://www.github.com/googleapis/python-securitycenter/issues/159)) ([89ca24b](https://www.github.com/googleapis/python-securitycenter/commit/89ca24b49c93737569b428dd7ca883de6429a41c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08f1a31b..e9420b3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-securitycenter/#history +### [1.3.1](https://www.github.com/googleapis/python-securitycenter/compare/v1.3.0...v1.3.1) (2021-06-10) + + +### Documentation + +* update currently supported Finding filter fields ([#159](https://www.github.com/googleapis/python-securitycenter/issues/159)) ([89ca24b](https://www.github.com/googleapis/python-securitycenter/commit/89ca24b49c93737569b428dd7ca883de6429a41c)) + ## [1.3.0](https://www.github.com/googleapis/python-securitycenter/compare/v1.2.0...v1.3.0) (2021-05-28) diff --git a/setup.py b/setup.py index e427615b..f476f080 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ name = "google-cloud-securitycenter" description = "Cloud Security Command Center API client library" -version = "1.3.0" +version = "1.3.1" release_status = "Development Status :: 5 - Production/Stable" dependencies = [ "google-api-core[grpc] >= 1.22.2, < 2.0.0dev",