diff --git a/.lycheeignore b/.lycheeignore index 62a2a50..07c6880 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -2,4 +2,6 @@ https://github.com/gemini-cli-extensions/data-cloud-ai-dev-kit/compare/ https://github.com/gemini-cli-extensions/data-cloud-ai-dev-kit https://raw.githubusercontent.com/gemini-cli-extensions/data-cloud-ai-dev-kit/main/codex-install.sh https://docs.cloud.google.com/data-cloud-extension/vs-code/install +https://docs.cloud.google.com/data-cloud-extension/vs-code/prompt-injection-risk +https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack/compare/ data-cloud-ai-dev-kit@data-cloud-ai-dev-kit-marketplace \ No newline at end of file diff --git a/README.md b/README.md index 64dd2b4..610562d 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ Ensure you have the following installed: ## Getting Started + + ### Installation Choose the installation method for your preferred coding agent. Run the commands in terminal @@ -49,7 +51,7 @@ Choose the installation method for your preferred coding agent. Run the commands Install the extension directly from GitHub: ```bash -gemini extensions install https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack --consent +gemini extensions install https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack --ref 0.1.0 ``` @@ -60,7 +62,7 @@ Run the `claude` command to start the agent, then follow these steps: 1. **Add the marketplace:** ```bash -/plugin marketplace add https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack +/plugin marketplace add https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack#0.1.0 ``` 2. **Install the plugin:** @@ -76,12 +78,12 @@ Run the `claude` command to start the agent, then follow these steps: **macOS / Linux:** ```bash -curl -sSL https://raw.githubusercontent.com/gemini-cli-extensions/data-agent-kit-starter-pack/main/codex-install.sh | bash +curl -sSL https://raw.githubusercontent.com/gemini-cli-extensions/data-agent-kit-starter-pack/0.1.0/codex-install.sh | bash ``` **Windows:** ```powershell -irm https://raw.githubusercontent.com/gemini-cli-extensions/data-agent-kit-starter-pack/main/codex-install.ps1 | iex +irm https://raw.githubusercontent.com/gemini-cli-extensions/data-agent-kit-starter-pack/0.1.0/codex-install.ps1 | iex ``` 2. **Install the plugin in Codex:** @@ -125,7 +127,7 @@ Edit the configuration file: Claude Code Edit the configuration file: -`~/.claude/plugins/cache/data-agent-kit-starter-pack-marketplace/data-agent-kit-starter-pack//.mcp.json` +`~/.claude/plugins/cache/data-agent-kit-starter-pack-marketplace/data-agent-kit-starter-pack/0.1.0/.mcp.json`
@@ -140,6 +142,8 @@ Edit the configuration file: ```
+ + ## Usage Examples Interact with your coding agent using natural language prompts to perform complex data engineering tasks: @@ -174,11 +178,24 @@ Common issues: ## Security Reminder: Agent Environment Hardening -Your agent has the power to execute tools and commands on your behalf. Protect your GCP resources by enforcing **Strict Least Privilege** across all CLIs, MCP servers and other resources available to your agents. - -* Use [service accounts](https://docs.cloud.google.com/docs/authentication/use-service-account-impersonation) for accessing your cloud resources. -* Assign the service account a role with [limited permissions](https://docs.cloud.google.com/iam/docs/roles-overview). -* Prevent unwanted cross-org agent access by utilizing **Principal Access Boundaries** to scope your agent to [projects](https://docs.cloud.google.com/iam/docs/principal-access-boundary-policies#use-case-one-project) you intend the agent to access. - -> [!NOTE] -> The Principal Access Boundary condition should bind the policy to the service accounts you intend to restrict. +Your agent can execute tools and commands on your behalf. Protect your Google +Cloud resources by enforcing **The Principle of Least Privilege** across all +CLIs, MCP servers and other resources available to your agents. + +* **Service Accounts:** Use + [service accounts](https://docs.cloud.google.com/docs/authentication/use-service-account-impersonation) + instead of end user credentials to access Google Cloud resources. +* **Limited Permissions:** Assign roles with + [limited permissions](https://docs.cloud.google.com/iam/docs/roles-overview) + to the service account that you're using for authentication. +* **Principal Access Boundaries:** Prevent unwanted cross-org agent access by + using + [Principal Access Boundary policies](https://docs.cloud.google.com/iam/docs/principal-access-boundary-policies#use-case-one-project) + to scope your agent to projects you intend it to access. +* [Include a condition in the policy binding](https://docs.cloud.google.com/iam/docs/principal-access-boundary-policies#use-case-one-project) + to ensure that the policy only applies to the service accounts that you + intend to restrict. + +You can read more +[here](https://docs.cloud.google.com/data-cloud-extension/vs-code/prompt-injection-risk) +on how to mitigate prompt injection attacks with Google Cloud MCP. diff --git a/release-please-config.json b/release-please-config.json index 4941f53..8bef7dd 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -28,6 +28,7 @@ "release-type": "simple", "package-name": "data-agent-kit-starter-pack", "extra-files": [ + "README.md", { "type": "json", "path": "gemini-extension.json",