Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
d21316a
feat: publish audit_log.proto
busunkim96 Jul 27, 2020
1721f4f
chore: add code of conduct
busunkim96 Jul 27, 2020
80e66ce
chore: fix license header
busunkim96 Jul 27, 2020
7d5c64e
chore: release 0.1.0 (#1)
release-please[bot] Jul 31, 2020
387bc71
chore(python-library): changes to docs job (#2)
yoshi-automation Jul 31, 2020
cbf2d0b
chore(deps): add renovate.json (#3)
renovate-bot Jul 31, 2020
aa51018
chore: add default CODEOWNERS (#8)
busunkim96 Sep 28, 2020
e5165a3
chore: update templates (#5)
yoshi-automation Nov 16, 2020
70b784d
chore: start tracking obsolete files (#9)
yoshi-automation Dec 28, 2020
875b972
chore(python): use 'http' in LICENSE (#10)
yoshi-automation Jan 8, 2021
3a86b9a
build: migrate to flakybot (#12)
JustinBeckwith Jan 29, 2021
fe6b4c7
chore: update templates (#11)
yoshi-automation Apr 2, 2021
8c479cf
chore: start tracking obsolete files (#15)
yoshi-automation Apr 5, 2021
f0af43e
chore: add constraints file check for python samples (#16)
yoshi-automation Apr 11, 2021
80bb9df
build: use PyPI API token in secret manager (#18)
yoshi-automation Apr 15, 2021
f08387e
chore: prevent normalization of semver versioning (#17)
dandhlee Apr 16, 2021
04b8698
chore: migrate to owl bot (#19)
parthea Apr 23, 2021
af5ec28
chore(revert): revert preventing normalization (#20)
dandhlee Apr 26, 2021
da5d0e6
chore: add SECURITY.md (#21)
google-cloud-policy-bot[bot] May 12, 2021
b9adfe8
chore: add library type to .repo-metadata.json (#22)
parthea May 17, 2021
a61d5fb
chore: add kokoro 3.9 config templates (#1128) (#23)
gcf-owl-bot[bot] Jun 22, 2021
f8233c2
build(python): exit with success status if no samples found (#24)
gcf-owl-bot[bot] Jul 14, 2021
b5b3193
build(python): remove python 3.7 from kokoro Dockerfile (#25)
gcf-owl-bot[bot] Jul 14, 2021
703fc12
chore: fix kokoro config for samples (#26)
gcf-owl-bot[bot] Jul 23, 2021
1a43525
chore: migrate default branch from master to main (#28)
parthea Aug 27, 2021
8251f83
fix: remove deprecated call to Descriptor() (#29)
busunkim96 Aug 31, 2021
f39b74a
chore: release 0.1.1 (#30)
release-please[bot] Aug 31, 2021
5076d2a
chore: removing owlbot directives for conversion to main (#32)
nicain Sep 3, 2021
6682c59
chore: relocate owl bot post processor (#34)
SurferJeffAtGoogle Sep 21, 2021
3542354
chore: add default_version and codeowner_team to .repo-metadata.json …
parthea Oct 4, 2021
5ca203b
build: use trampoline_v2 for python samples and allow custom dockerfi…
gcf-owl-bot[bot] Oct 5, 2021
1ab3476
chore(python): Add kokoro configs for python 3.10 samples testing (#37)
gcf-owl-bot[bot] Oct 8, 2021
489a33c
feat: add trove classifier for python 3.10 (#38)
parthea Oct 13, 2021
b6df982
chore: release 0.2.0 (#39)
release-please[bot] Oct 25, 2021
91b8f1d
chore(python): add .github/CODEOWNERS as a templated file (#41)
gcf-owl-bot[bot] Nov 11, 2021
5fa81dd
chore: add api_shortname to repo-metadata.json (#42)
parthea Dec 28, 2021
6571620
chore: use python-samples-reviewers (#43)
gcf-owl-bot[bot] Jan 6, 2022
801552a
build: switch to release-please for tagging (#44)
gcf-owl-bot[bot] Jan 13, 2022
22fa4d1
chore(python): update release.sh to use keystore (#45)
gcf-owl-bot[bot] Jan 14, 2022
ca1c13f
chore(python): exclude templated GH action workflows (#46)
gcf-owl-bot[bot] Jan 22, 2022
c3d8912
chore(python): Enable size-label bot (#47)
gcf-owl-bot[bot] Apr 3, 2022
2700c77
chore(python): add license header to auto-label.yaml (#50)
gcf-owl-bot[bot] Apr 6, 2022
ec5bf1f
chore(python): use ubuntu 22.04 in docs image (#52)
gcf-owl-bot[bot] Apr 21, 2022
49085dc
chore(python): auto approve template changes (#53)
gcf-owl-bot[bot] May 5, 2022
120ad73
fix(deps): require protobuf>= 3.6.0, <4.0.0dev (#55)
parthea May 26, 2022
9b18a5e
chore(main): release 0.2.1 (#56)
release-please[bot] May 26, 2022
15d6068
fix: regenerate pb2 files using grpcio-tools (#57)
parthea May 26, 2022
1f44052
chore(main): release 0.2.2 (#58)
release-please[bot] May 26, 2022
346ceac
fix: require python 3.7+ (#63)
gcf-owl-bot[bot] Jul 16, 2022
8dffeef
chore(main): release 0.2.3 (#66)
release-please[bot] Jul 18, 2022
9cbd35c
fix(deps): allow protobuf < 5.0.0 (#67)
parthea Aug 11, 2022
2185c52
chore(main): release 0.2.4 (#68)
release-please[bot] Aug 16, 2022
e5e62aa
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 27, 2022
d37af6e
chore(python): update dependency distlib (#74)
gcf-owl-bot[bot] Aug 30, 2022
d00e5e2
chore: fix path to requirements.txt in release script [autoapprove] (…
gcf-owl-bot[bot] Sep 1, 2022
7dfa756
chore(python): update .kokoro/requirements.txt (#76)
gcf-owl-bot[bot] Sep 2, 2022
24f89a3
chore(python): exclude setup.py in renovate config (#77)
gcf-owl-bot[bot] Sep 2, 2022
150c66b
fix(deps): require protobuf >= 3.19.5 (#79)
gcf-owl-bot[bot] Oct 7, 2022
7988ec3
chore(python): update release script dependencies (#84)
gcf-owl-bot[bot] Nov 29, 2022
630978b
build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/g…
gcf-owl-bot[bot] Dec 15, 2022
2fe7361
chore(python): add support for python 3.11 (#87)
gcf-owl-bot[bot] Jan 7, 2023
9b48b1c
chore(main): release 0.2.5 (#80)
release-please[bot] Jan 11, 2023
dbc4b72
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
gcf-owl-bot[bot] Feb 8, 2023
e5580d0
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#90)
gcf-owl-bot[bot] Mar 2, 2023
6ea439d
chore: store artifacts in placer (#97)
gcf-owl-bot[bot] Jun 29, 2023
18bec40
build(deps): [autoapprove] bump cryptography from 41.0.0 to 41.0.2 (#99)
gcf-owl-bot[bot] Jul 17, 2023
d35d4d0
build(deps): [autoapprove] bump pygments from 2.13.0 to 2.15.0 (#101)
gcf-owl-bot[bot] Jul 22, 2023
c294734
build(deps): [autoapprove] bump certifi from 2022.12.7 to 2023.7.22 (…
gcf-owl-bot[bot] Jul 27, 2023
a4482b5
build: [autoapprove] bump cryptography from 41.0.2 to 41.0.3 (#105)
gcf-owl-bot[bot] Aug 3, 2023
cd9ab36
chore: rename rst files to avoid conflict with service names (#110)
gcf-owl-bot[bot] Nov 3, 2023
8b3f22d
chore: bump urllib3 from 1.26.12 to 1.26.18 (#112)
gcf-owl-bot[bot] Nov 22, 2023
4e75bcd
feat: Add support for Python 3.12 (#113)
gcf-owl-bot[bot] Nov 24, 2023
67f3aea
chore: bump cryptography from 41.0.5 to 41.0.6 in /synthtool/gcp/temp…
gcf-owl-bot[bot] Dec 1, 2023
a845791
feat: Introduce compatibility with native namespace packages (#117)
parthea Aug 14, 2024
73fae34
ci: resolve issue where protos are not updating (#123)
parthea Aug 14, 2024
66e4d38
chore(python): fix docs build (#144)
gcf-owl-bot[bot] Aug 14, 2024
76c5b49
fix: allow protobuf 5.x (#147)
parthea Aug 15, 2024
90c1ef0
chore(main): release 0.3.0 (#114)
release-please[bot] Aug 19, 2024
a377451
build(python): release script update (#151)
gcf-owl-bot[bot] Sep 17, 2024
af818af
chore: update templated files (#154)
parthea Oct 29, 2024
e7d11ab
chore(python): update dependencies in .kokoro/docker/docs (#157)
gcf-owl-bot[bot] Nov 15, 2024
b54d3dc
chore(python): update dependencies in .kokoro/docker/docs (#160)
gcf-owl-bot[bot] Dec 23, 2024
232506f
chore: remove pb2 file generation during post processing step (#162)
parthea Jan 9, 2025
78ce4ab
chore: remove obsolete proto files (#163)
parthea Jan 9, 2025
33369ea
chore: add generation of pb2 files via owlbot/bazel (#164)
parthea Jan 10, 2025
14a7e28
Merge remote-tracking branch 'remote.googleapis/python-audit-log/main…
parthea Jan 10, 2025
ad38c25
Trigger owlbot post-processor
parthea Jan 10, 2025
bea5155
build: google-cloud-audit-log migration: adjust owlbot-related files
parthea Jan 10, 2025
a9e1885
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 10, 2025
79c9a2a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 10, 2025
4f3214d
Merge branch 'migration.python-audit-log.repo.stats.2025-01-10.16-06-…
gcf-owl-bot[bot] Jan 10, 2025
6fb5a73
add constraints file for python 3.13
parthea Jan 10, 2025
d16e592
add/update rst files
parthea Jan 10, 2025
8bcd3f3
remove obsolete file
parthea Jan 10, 2025
519fcbc
update setup.py
parthea Jan 10, 2025
8995f51
update product link
parthea Jan 13, 2025
1757a9a
update product name
parthea Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions packages/google-cloud-audit-log/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/audit/(audit-py)/(.*audit.*)
dest: /owl-bot-staging/google-cloud-audit-log/$1/google/cloud/audit/$2

begin-after-commit-hash: 7af2cb8b2b725641ac0d07e2f256d453682802e6

33 changes: 33 additions & 0 deletions packages/google-cloud-audit-log/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E231, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
**/services/**
**/types/**
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
conf.py
63 changes: 63 additions & 0 deletions packages/google-cloud-audit-log/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
*.py[cod]
*.sw[op]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
.eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.nox
.cache
.pytest_cache


# Mac
.DS_Store

# JetBrains
.idea

# VS Code
.vscode

# emacs
*~

# Built documentation
docs/_build
bigquery/docs/generated
docs.metadata

# Virtual environment
env/

# Test logs
coverage.xml
*sponge_log.xml

# System test environment variables.
system_tests/local_test_setup

# Make sure a generated file isn't accidentally committed.
pylintrc
pylintrc.test
16 changes: 16 additions & 0 deletions packages/google-cloud-audit-log/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "auditlog",
"name_pretty": "Audit Log API",
"product_documentation": "https://cloud.google.com/logging/docs/audit",
"client_documentation": "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-audit-log",
"issue_tracker": "",
"release_level": "preview",
"language": "python",
"library_type": "OTHER",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-cloud-audit-log",
"api_id": "",
"default_version": "apiVersion",
"codeowner_team": "",
"api_shortname": "auditlog"
}
75 changes: 75 additions & 0 deletions packages/google-cloud-audit-log/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Changelog

## [0.3.0](https://github.com/googleapis/python-audit-log/compare/v0.2.5...v0.3.0) (2024-08-15)


### Features

* Add `google/cloud/audit/bigquery_audit_metadata_pb2.py` ([c6efc56](https://github.com/googleapis/python-audit-log/commit/c6efc56eec9627ecf1e139cc33d5815937f04dc6))
* Add PolicyViolation. this will only be present when access is denied due to Organization Policy [fc5be6f](https://github.com/googleapis/googleapis/commit/fc5be6f850e7989e912b40c6b79306c6dc9655bd) ([c6efc56](https://github.com/googleapis/python-audit-log/commit/c6efc56eec9627ecf1e139cc33d5815937f04dc6))
* Add support for Python 3.12 ([#113](https://github.com/googleapis/python-audit-log/issues/113)) ([08b0bca](https://github.com/googleapis/python-audit-log/commit/08b0bca0ee634d65bba18c7de102063be17d0958))
* Add the principal field to the ServiceAccountDelegationInfo [ba89dac](https://github.com/googleapis/googleapis/commit/ba89dace27923254d96ab8339b831dc996e2112f) ([c6efc56](https://github.com/googleapis/python-audit-log/commit/c6efc56eec9627ecf1e139cc33d5815937f04dc6))
* Introduce compatibility with native namespace packages ([#117](https://github.com/googleapis/python-audit-log/issues/117)) ([9007e8a](https://github.com/googleapis/python-audit-log/commit/9007e8af7f5300f866f42035c36a9d3fe36ef117))
* Update AuditLog proto to include all new changes in Audit Logging [40292fc](https://github.com/googleapis/googleapis/commit/40292fc8f271f3b8708f9c91c85d7240200893a6) ([c6efc56](https://github.com/googleapis/python-audit-log/commit/c6efc56eec9627ecf1e139cc33d5815937f04dc6))


### Bug Fixes

* **deps:** Require protobuf&gt;=3.20.2, protobuf&lt;6 ([bf1434a](https://github.com/googleapis/python-audit-log/commit/bf1434a7f4c0d03767c6f943de898d5562e874b1))
* Regenerate pb2 files for compatibility with protobuf 5.x ([bf1434a](https://github.com/googleapis/python-audit-log/commit/bf1434a7f4c0d03767c6f943de898d5562e874b1))

## [0.2.5](https://github.com/googleapis/python-audit-log/compare/v0.2.4...v0.2.5) (2023-01-07)


### Bug Fixes

* **deps:** Require protobuf &gt;= 3.19.5 ([#79](https://github.com/googleapis/python-audit-log/issues/79)) ([94e7044](https://github.com/googleapis/python-audit-log/commit/94e7044c66050e6a419bf694e25e677827aa6c13))

## [0.2.4](https://github.com/googleapis/python-audit-log/compare/v0.2.3...v0.2.4) (2022-08-11)


### Bug Fixes

* **deps:** allow protobuf < 5.0.0 ([#67](https://github.com/googleapis/python-audit-log/issues/67)) ([e337e78](https://github.com/googleapis/python-audit-log/commit/e337e781951dea0fbbb6ef9c4ff9896fa3fce86a))

## [0.2.3](https://github.com/googleapis/python-audit-log/compare/v0.2.2...v0.2.3) (2022-07-16)


### Bug Fixes

* require python 3.7+ ([#63](https://github.com/googleapis/python-audit-log/issues/63)) ([c7d33f4](https://github.com/googleapis/python-audit-log/commit/c7d33f463e6dda2d24cc884f4049cfd437876812))

### [0.2.2](https://github.com/googleapis/python-audit-log/compare/v0.2.1...v0.2.2) (2022-05-26)


### Bug Fixes

* regenerate pb2 files using grpcio-tools ([#57](https://github.com/googleapis/python-audit-log/issues/57)) ([7058ada](https://github.com/googleapis/python-audit-log/commit/7058ada0cc89cac453b6d55d6a1529d7274784fd))

### [0.2.1](https://github.com/googleapis/python-audit-log/compare/v0.2.0...v0.2.1) (2022-05-26)


### Bug Fixes

* **deps:** require protobuf>= 3.6.0, <4.0.0dev ([#55](https://github.com/googleapis/python-audit-log/issues/55)) ([e84a2a9](https://github.com/googleapis/python-audit-log/commit/e84a2a9bb8efa13e53a9941580307dbaabec72b1))

## [0.2.0](https://www.github.com/googleapis/python-audit-log/compare/v0.1.1...v0.2.0) (2021-10-13)


### Features

* add trove classifier for python 3.10 ([#38](https://www.github.com/googleapis/python-audit-log/issues/38)) ([355cbf1](https://www.github.com/googleapis/python-audit-log/commit/355cbf14dbe67879395c068ff0192b9d21410c51))

### [0.1.1](https://www.github.com/googleapis/python-audit-log/compare/v0.1.0...v0.1.1) (2021-08-31)


### Bug Fixes

* remove deprecated call to Descriptor() ([#29](https://www.github.com/googleapis/python-audit-log/issues/29)) ([26f15be](https://www.github.com/googleapis/python-audit-log/commit/26f15be30432e61a6555c2cfe6643a83bf60def0))

## 0.1.0 (2020-07-30)


### Features

* publish audit_log.proto ([4ca63a0](https://www.github.com/googleapis/python-audit-log/commit/4ca63a097e68bbae3e0094f071b9ef122c0db696))
95 changes: 95 additions & 0 deletions packages/google-cloud-audit-log/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!-- # Generated by synthtool. DO NOT EDIT! !-->
# Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of
experience, education, socio-economic status, nationality, personal appearance,
race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, or to ban temporarily or permanently any
contributor for other behaviors that they deem inappropriate, threatening,
offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

This Code of Conduct also applies outside the project spaces when the Project
Steward has a reasonable belief that an individual's behavior may have a
negative impact on the project or its community.

## Conflict Resolution

We do not believe that all conflict is bad; healthy debate and disagreement
often yield positive results. However, it is never okay to be disrespectful or
to engage in behavior that violates the project’s code of conduct.

If you see someone violating the code of conduct, you are encouraged to address
the behavior directly with those involved. Many issues can be resolved quickly
and easily, and this gives people more control over the outcome of their
dispute. If you are unable to resolve the matter for any reason, or if the
behavior is threatening or harassing, report it. We are dedicated to providing
an environment where participants feel welcome and safe.


Reports should be directed to *googleapis-stewards@google.com*, the
Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
receive and address reported violations of the code of conduct. They will then
work with a committee consisting of representatives from the Open Source
Programs Office and the Google Open Source Strategy team. If for any reason you
are uncomfortable reaching out to the Project Steward, please email
opensource@google.com.

We will investigate every complaint, but you may not receive a direct response.
We will use our discretion in determining when and how to follow up on reported
incidents, which may range from not taking action to permanent expulsion from
the project and project-sponsored spaces. We will notify the accused of the
report and provide them an opportunity to discuss it before any action is taken.
The identity of the reporter will be omitted from the details of the report
supplied to the accused. In potentially harmful situations, such as ongoing
harassment or threats to anyone's safety, we may take action without notice.

## Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
available at
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
Loading