-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add agent-shield.yml workflow #78
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,103 @@ | ||||||||||||||||||||||||||||
| # AgentShield — Agent configuration security validation | ||||||||||||||||||||||||||||
| # See: standards/agent-standards.md | ||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||
| # Two-layer approach: | ||||||||||||||||||||||||||||
| # 1. affaan-m/agentshield action — deep security scan (102 rules across | ||||||||||||||||||||||||||||
| # secrets, permissions, hooks, MCP servers, and agent config) | ||||||||||||||||||||||||||||
|
Comment on lines
+5
to
+6
|
||||||||||||||||||||||||||||
| # 1. affaan-m/agentshield action — deep security scan (102 rules across | |
| # secrets, permissions, hooks, MCP servers, and agent config) | |
| # 1. AgentShield CLI via ecc-agentshield — deep security scan (102 rules | |
| # across secrets, permissions, hooks, MCP servers, and agent config) |
Copilot
AI
Apr 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with other workflows in this repo (e.g., codeql-analysis.yml, sonarcloud.yml), consider setting workflow-level permissions: {} and moving contents: read under the job’s permissions:. This keeps the workflow least-privilege by default if additional jobs are added later.
| permissions: | |
| contents: read | |
| jobs: | |
| agent-shield: | |
| name: AgentShield | |
| permissions: {} | |
| jobs: | |
| agent-shield: | |
| name: AgentShield | |
| permissions: | |
| contents: read |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header comment points to
standards/agent-standards.md, but this repository doesn’t contain that path. Consider changing it to a fully-qualified org-standards URL (or another local reference) so readers don’t assume there’s a missing file in this repo.