Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/python-securitycenter #8493

Merged
merged 111 commits into from
Jan 26, 2023

Conversation

donmccasland
Copy link
Member

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

busunkim96 and others added 30 commits July 14, 2020 15:26
… adding filter to mutable field (#39)

Fixes b/155346619
Add "filter" to mutable fields for UpdateNotificationConfig.
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/d5a3b809-9df8-4d37-93b2-9714b500d6ce/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 324294521
Source-Link: googleapis/googleapis@868615a
PiperOrigin-RevId: 324035013
Source-Link: googleapis/googleapis@8cda089
PiperOrigin-RevId: 323803770
Source-Link: googleapis/googleapis@706053b
PiperOrigin-RevId: 323795963
Source-Link: googleapis/googleapis@c1b9289
PiperOrigin-RevId: 323657371
Source-Link: googleapis/googleapis@1907f0f
PiperOrigin-RevId: 323630732
Source-Link: googleapis/googleapis@74e8cf8
PiperOrigin-RevId: 323605868
Source-Link: googleapis/googleapis@0c6a730
PiperOrigin-RevId: 323472217
Source-Link: googleapis/googleapis@6a813ac
PiperOrigin-RevId: 323062460
Source-Link: googleapis/googleapis@599ede9
PiperOrigin-RevId: 322867095
Source-Link: googleapis/googleapis@e26e183
PiperOrigin-RevId: 321179885
Source-Link: googleapis/googleapis@9362f58
PiperOrigin-RevId: 321179822
Source-Link: googleapis/googleapis@afa7f44
* fix(sample): fix a broken test

fixes #59
…58)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [google-cloud-securitycenter](https://togithub.com/googleapis/python-securitycenter) | minor | `==0.6.0` -> `==0.7.1` |

---

### Release Notes

<details>
<summary>googleapis/python-securitycenter</summary>

### [`v0.7.1`](https://togithub.com/googleapis/python-securitycenter/blob/master/CHANGELOG.md#&#8203;071-httpswwwgithubcomgoogleapispython-securitycentercomparev070v071-2020-09-18)

[Compare Source](https://togithub.com/googleapis/python-securitycenter/compare/v0.7.0...v0.7.1)

### [`v0.7.0`](https://togithub.com/googleapis/python-securitycenter/blob/master/CHANGELOG.md#&#8203;070-httpswwwgithubcomgoogleapispython-securitycentercomparev060v070-2020-09-10)

[Compare Source](https://togithub.com/googleapis/python-securitycenter/compare/v0.6.0...v0.7.0)

##### Features

-   add field severity to findings; update retry configs ([#&#8203;53](https://www.github.com/googleapis/python-securitycenter/issues/53)) ([80494a9](https://www.github.com/googleapis/python-securitycenter/commit/80494a915ca33d260862694be889b817869ff01a))

##### Documentation

-   Update Security Command Center UpdateNotificationConfig sample, adding filter to mutable field ([#&#8203;39](https://www.github.com/googleapis/python-securitycenter/issues/39)) ([c70d790](https://www.github.com/googleapis/python-securitycenter/commit/c70d7904425ae5ac252ffa7317ec6d08234a6c27))

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-securitycenter).
See UPGRADING.md for details.
…d repl… (#85)

Standardizing Security Command Center samples to use 'securitycenter' prefixing. Wrapped existing samples to keep published doclinks unbroken, and fully replaced the ones that aren't published. Once this PR is through, published sample inclusions will be updated to use the new prefix, then I'll come through again and remove the unused block wraps.
Updates the tags to be identical to the tag most-used in other language-repos. This is the final step in wrangling all the cats into logical groupings of identical tags. Cleans up and finalizes work started in PR #85.
* add securitycenter prefix to samples, wrap published samples and replace unpublished entirely.

* Fix unmatched region tags

* Fix more unmatched region tags

* fix lint issue with function antipattern

* docs: standardize new tags with most-used tag from other languages

* fix conflicting tag by making more explicit to the contained function
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore: upgrade gapic-generator-python to 0.39.1

feat: add 'from_service_account_info' factory to clients
fix: fix sphinx identifiers
PiperOrigin-RevId: 350246057

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Jan 5 16:44:11 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 520682435235d9c503983a360a2090025aa47cd1
Source-Link: googleapis/googleapis@5206824

* chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: googleapis/googleapis@ceaaf31

* chore: upgrade gapic-generator-python to 0.40.5

PiperOrigin-RevId: 354996675

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Feb 1 12:11:49 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 20712b8fe95001b312f62c6c5f33e3e3ec92cfaf
Source-Link: googleapis/googleapis@20712b8

* chore: update gapic-generator-python

PiperOrigin-RevId: 355923884

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Feb 5 14:04:52 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 5e3dacee19405529b841b53797df799c2383536c
Source-Link: googleapis/googleapis@5e3dace

* chore: update gapic-generator-python to 0.40.11

PiperOrigin-RevId: 359562873

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Feb 25 10:52:32 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 07932bb995e7dc91b43620ea8402c6668c7d102c
Source-Link: googleapis/googleapis@07932bb

* chore: upgrade gapic-generator-python to 0.42.2

PiperOrigin-RevId: 361662015

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Mar 8 14:47:18 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 28a591963253d52ce3a25a918cafbdd9928de8cf
Source-Link: googleapis/googleapis@28a5919

* chore: upgrade gapic-generator-python to 0.43.1

PiperOrigin-RevId: 364411656

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Mar 22 14:40:22 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 149a3a84c29c9b8189576c7442ccb6dcf6a8f95b
Source-Link: googleapis/googleapis@149a3a8

* fix: fix dependencies

Co-authored-by: Bu Sun Kim <busunkim@google.com>
* test: log message.data for debugging

Flaky test from #124 suggests that `message.data` might have been deformed somehow. Adding a logging for the data passed
to help debug next time something goes wrong.

* chore: update for lint

* chore: update message formatting

* chore: remove extra print

* chore: making lint happy
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
* add securitycenter prefix to samples, wrap published samples and replace unpublished entirely.

* Fix unmatched region tags

* Fix more unmatched region tags

* fix lint issue with function antipattern

* docs: standardize new tags with most-used tag from other languages

* fix conflicting tag by making more explicit to the contained function

* remove obviated region tags

* more

Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
gcr.io/repo-automation-bots/owlbot-python:latest@sha256:3c3a445b3ddc99ccd5d31edc4b4519729635d20693900db32c4f587ed51f7479
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-pubsub](https://togithub.com/googleapis/python-pubsub) | `==2.5.0` -> `==2.6.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.6.0/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-pubsub/2.6.0/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-pubsub</summary>

### [`v2.6.0`](https://togithub.com/googleapis/python-pubsub/blob/master/CHANGELOG.md#&#8203;260-httpswwwgithubcomgoogleapispython-pubsubcomparev250v260-2021-06-17)

[Compare Source](https://togithub.com/googleapis/python-pubsub/compare/v2.5.0...v2.6.0)

##### Features

-   support customizable retry and timeout settings on the publisher client ([#&#8203;299](https://www.github.com/googleapis/python-pubsub/issues/299)) ([7597604](https://www.github.com/googleapis/python-pubsub/commit/7597604b41fa3a1e9bf34addc35c8647dde007cc))

##### Bug Fixes

-   ACK deadline set for received messages can be too low  ([#&#8203;416](https://www.github.com/googleapis/python-pubsub/issues/416)) ([e907f6e](https://www.github.com/googleapis/python-pubsub/commit/e907f6e05f59f64a3b08df3304e92ec960997be6))
-   threads can skip the line in publisher flow controller ([#&#8203;422](https://www.github.com/googleapis/python-pubsub/issues/422)) ([ef89f55](https://www.github.com/googleapis/python-pubsub/commit/ef89f55a41044e9ad26b91132b4b1be9c7b2c127))

##### Documentation

-   block until the streaming pull shuts down ([#&#8203;424](https://www.github.com/googleapis/python-pubsub/issues/424)) ([d0d0b70](https://www.github.com/googleapis/python-pubsub/commit/d0d0b704642df8dee893d3f585aeb666e19696fb))
-   explain that future.cancel() is non-blocking ([#&#8203;420](https://www.github.com/googleapis/python-pubsub/issues/420)) ([c825789](https://www.github.com/googleapis/python-pubsub/commit/c825789bdff310f44cbb132a723e99d1e6331d8f))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-securitycenter).
@dandhlee dandhlee assigned dandhlee and unassigned engelke Nov 12, 2022
@Sita04 Sita04 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 24, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 24, 2023
@Sita04 Sita04 requested review from leahecole and dandhlee January 24, 2023 21:46
@Sita04 Sita04 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
@Sita04 Sita04 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 25, 2023
Copy link
Collaborator

@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, squashing and admin merging.

@dandhlee dandhlee merged commit 32f6f5a into main Jan 26, 2023
@dandhlee dandhlee deleted the python-securitycenter-migration branch January 26, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.