Skip to content
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
265f285
Create dependabot.yml
venkateshpabbati Sep 4, 2025
2ba55a5
Create SECURITY.md
venkateshpabbati Sep 4, 2025
5038009
chore(deps): update tenacity requirement
dependabot[bot] Sep 4, 2025
b67d9c8
chore(deps): update google-cloud-storage requirement
dependabot[bot] Sep 4, 2025
f2aff33
chore(deps): update langgraph requirement
dependabot[bot] Sep 4, 2025
449b502
Potential fix for code scanning alert no. 2: Clear-text storage of se…
venkateshpabbati Sep 4, 2025
82d89e4
Merge pull request #4 from venkateshpabbati/alert-autofix-2
venkateshpabbati Sep 4, 2025
ff4aa08
Merge pull request #3 from venkateshpabbati/dependabot/pip/langgraph-…
venkateshpabbati Sep 4, 2025
2fb62c7
Merge pull request #2 from venkateshpabbati/dependabot/pip/google-clo…
venkateshpabbati Sep 4, 2025
2f52e9c
Merge pull request #1 from venkateshpabbati/dependabot/pip/tenacity-g…
venkateshpabbati Sep 4, 2025
cdd1181
Merge branch 'google:main' into main
venkateshpabbati Sep 8, 2025
0ed60ea
Potential fix for code scanning alert no. 2: Clear-text storage of se…
venkateshpabbati Sep 8, 2025
f2141c4
Potential fix for code scanning alert no. 2: Clear-text storage of se…
venkateshpabbati Sep 8, 2025
29dd3c3
Merge pull request #6 from venkateshpabbati/alert-autofix-22
venkateshpabbati Sep 8, 2025
bce73cc
Merge pull request #5 from venkateshpabbati/alert-autofix-21
venkateshpabbati Sep 8, 2025
8a0a0c2
Update SECURITY.md
venkateshpabbati Oct 20, 2025
977aa9d
chore(deps): update langgraph requirement
dependabot[bot] Oct 27, 2025
3fbd8e4
Merge branch 'main' into main
venkateshpabbati Nov 2, 2025
3304c7e
Merge branch 'google:main' into main
venkateshpabbati Nov 3, 2025
6d7ae77
Merge pull request #10 from venkateshpabbati/dependabot/pip/langgraph…
venkateshpabbati Nov 3, 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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"google-cloud-secret-manager>=2.22.0, <3.0.0", # Fetching secrets in RestAPI Tool
"google-cloud-spanner>=3.56.0, <4.0.0", # For Spanner database
"google-cloud-speech>=2.30.0, <3.0.0", # For Audio Transcription
"google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service
"google-cloud-storage>=2.18.0, <4.0.0", # For GCS Artifact service
"google-genai>=1.21.1, <2.0.0", # Google GenAI SDK
"graphviz>=0.20.2, <1.0.0", # Graphviz for graph rendering
"mcp>=1.8.0, <2.0.0;python_version>='3.10'", # For MCP Toolset
Expand All @@ -51,7 +51,7 @@ dependencies = [
"sqlalchemy-spanner>=1.14.0", # Spanner database session service
"sqlalchemy>=2.0, <3.0.0", # SQL database ORM
"starlette>=0.46.2, <1.0.0", # For FastAPI CLI
"tenacity>=8.0.0, <9.0.0", # For Retry management
"tenacity>=8.0.0, <10.0.0", # For Retry management
"typing-extensions>=4.5, <5",
"tzlocal>=5.3, <6.0", # Time zone utilities
"uvicorn>=0.34.0, <1.0.0", # ASGI server for FastAPI
Expand Down Expand Up @@ -108,7 +108,7 @@ test = [
"a2a-sdk>=0.3.0,<0.4.0;python_version>='3.10'",
"anthropic>=0.43.0", # For anthropic model tests
"langchain-community>=0.3.17",
"langgraph>=0.2.60, <= 0.4.10", # For LangGraphAgent
"langgraph>= 0.2.60, <= 0.6.6", # For LangGraphAgent
"litellm>=1.75.5, <2.0.0", # For LiteLLM tests
"llama-index-readers-file>=0.4.0", # For retrieval tests
"openai>=1.100.2", # For LiteLLM
Expand Down
17 changes: 11 additions & 6 deletions src/google/adk/cli/cli_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,17 @@ def _generate_files(
lines.append("GOOGLE_GENAI_USE_VERTEXAI=0")
elif google_cloud_project and google_cloud_region:
lines.append("GOOGLE_GENAI_USE_VERTEXAI=1")
if google_api_key:
lines.append(f"GOOGLE_API_KEY={google_api_key}")
if google_cloud_project:
lines.append(f"GOOGLE_CLOUD_PROJECT={google_cloud_project}")
if google_cloud_region:
lines.append(f"GOOGLE_CLOUD_LOCATION={google_cloud_region}")
if google_api_key or google_cloud_project or google_cloud_region:
click.secho(
"NOTE: For security, the GOOGLE_API_KEY, GOOGLE_CLOUD_PROJECT, and GOOGLE_CLOUD_LOCATION were NOT written to `.env`.\n"
"Please set them as environment variables manually and do not check secrets or sensitive configuration into source control.",
fg="yellow",
)
# Do not write project ID or location to .env; instruct user instead
# if google_cloud_project:
# lines.append(f"GOOGLE_CLOUD_PROJECT={google_cloud_project}")
# if google_cloud_region:
# lines.append(f"GOOGLE_CLOUD_LOCATION={google_cloud_region}")
f.write("\n".join(lines))

if type == "config":
Expand Down