You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/organizations/ai-risk-hub.md
+66-26Lines changed: 66 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,19 @@ description: The organization's AI Risk Hub dashboard provides an overview of al
4
4
5
5
# AI Risk Hub
6
6
7
-
The **AI Risk Hub** gives you visibility into the AI usage, dependencies, and risks across your organization's repositories. It brings together AI policy compliance, risk assessment, and a detailed inventory of AI resources found in your codebase.
7
+
The **AI Risk Hub** gives you visibility into the AI usage, dependencies, and risks across your organization's repositories. It brings together AI policy compliance, risk assessment, and a detailed list of AI assets found in your codebase.
8
8
It also provides an overview of all the AI issues detected in the repositories applied to the organization's AI Policy standard and your organization's risk level based on your AI practices. Here, you can navigate through the issues detected in your repositories and filter them by severity and category. You can also filter the issues by selecting specific repositories or using [the segments that you have set up](segments.md).
9
9
10
10
!!! important
11
-
This dashboard is a Business tier feature, generally available until May 18.
11
+
This dashboard is a Business tier feature, generally available until May 18, 2026.
12
12
13
13
To access the AI Risk Hub, select an organization from the top navigation bar and click on **AI Risk** on the left navigation sidebar.
14
14
15
-
Inside this hub, you can find the following pages to help you monitor the AI risk of your organization:
15
+
Inside this hub, you can find the following tabs to help you monitor the AI risk of your organization:
16
16
17
17
-[Overview](#overview)
18
-
-[AI Inventory](#ai-inventory)
18
+
-[AI assets](#ai-assets)
19
+
-[Tools & workflows](#tools-workflows)
19
20
20
21
---
21
22
@@ -27,7 +28,7 @@ The **Overview** tab is the main dashboard for monitoring AI risk across your or
27
28
-[Risk Level](#risk-level)
28
29
-[AI Risk Checklist](#ai-risk-checklist)
29
30
-[Repositories with most AI issues](#repositories-with-most-ai-issues)
30
-
-[AI Inventory summary](#ai-inventory-summary)
31
+
-[AI assets summary](#ai-assets-summary)
31
32
32
33

33
34
@@ -107,32 +108,32 @@ Each entry shows how the repository's AI issue count has changed compared to the
107
108
108
109
---
109
110
110
-
### AI Inventory summary
111
+
### AI assets summary
111
112
112
113
This section shows a high-level view of the AI resources discovered across your repositories, broken down by provider. For each provider, you can see the number of resources and repositories involved, as well as a breakdown by resource type.
113
114
114
-
The section surfaces the top AI providers detected in your organization. You can click through to the full [AI Inventory](#ai-inventory) for a detailed view.
115
+
The section surfaces the top AI providers detected in your organization. You can click through to the full [AI assets](#ai-assets) tab for a detailed view.
The **AI Inventory** tab gives you a detailed, searchable view of all AI resources discovered across your organization's repositories. Resources are detected through static analysis and represent actual AI usage found in the code — not just configuration.
123
+
The **AI assets** tab gives you a detailed, searchable view of all AI resources discovered across your organization's repositories. Resources are detected through static analysis and represent actual AI usage found in the code—not just configuration.
123
124
124
-

125
+

125
126
126
127
### Resource types
127
128
128
129
Codacy detects four types of AI resources:
129
130
130
-
| Type |Pattern ID| Description |
131
+
| Type |Categories| Description |
131
132
|------|------------|-------------|
132
-
| Model usage |`ai_model_usage`| Direct calls to AI model APIs |
133
-
| Dependency |`ai_dependency`| AI SDKs and packages included as dependencies |
134
-
| API key |`ai_key`| AI service API keys and credentials found in code |
135
-
| Endpoint / env variable |`ai_env_endpoint`| Environment variables and endpoint references for AI services |
133
+
| Model usage |Model| Direct calls to AI model APIs |
134
+
| Dependency |Dependency| AI SDKs and packages included as dependencies |
135
+
| API key |Key| AI service API keys and credentials found in code |
136
+
| Endpoint / env variable |Endpoint| Environment variables and endpoint references for AI services |
136
137
137
138
### Supported providers
138
139
@@ -154,31 +155,70 @@ Codacy detects resources from the following AI providers:
154
155
155
156
### How it works
156
157
157
-
The inventory is built from static analysis of your repositories' source code. For each AI resource found, Codacy records:
158
+
The AI assets list is built from static analysis of your repositories' source code. For each AI resource found, Codacy records:
158
159
159
160
- Which **provider** the resource belongs to (e.g. OpenAI, Anthropic)
160
161
- What **type** of resource it is (model usage, dependency, API key, endpoint)
161
162
- The **marker** that identifies it (e.g. model name, package name)
162
163
- How many **repositories** contain it
163
164
- How many total **references** to it exist
164
165
165
-
### Navigating the inventory
166
+
### Navigating AI assets
166
167
167
168
Resources are listed as expandable entries. You can drill into each one to see:
168
169
169
-
1.**Repositories** — which repositories contain the resource, with file counts and reference counts per repository
170
-
2.**Files** — within each repository, the specific files where the resource appears
171
-
3.**Lines** — within each file, the exact lines where the resource is referenced, with direct links to the file in your Git provider
170
+
1.**Repositories**—which repositories contain the resource, with file counts and reference counts per repository
171
+
2.**Files**—within each repository, the specific files where the resource appears
172
+
3.**Lines**—within each file, the exact lines where the resource is referenced, with direct links to the file in your Git provider
Tools are displayed as cards showing the tool name, number of detected resources, repositories involved, and a badge indicating whether the tool was detected as a **usage** or **workflow**.
196
+
197
+
### Detection categories
198
+
199
+
Detections are grouped into two categories:
200
+
201
+
-**Usage**—tool detected via code-level patterns:
202
+
-**Code marker**—tool signatures or attribution markers found in source code
203
+
-**Commit**—references to the tool in commit messages or metadata
204
+
-**Workflow**—tool detected via configuration or process files, such as commands, `.gitignore` entries, hooks, instructions, settings, skills, agent definitions, governance files, or IDE configuration
205
+
206
+
### Navigating tool details
207
+
208
+
Clicking a tool card opens a detail view grouped by detection pattern (for example, "Generated with [Claude Code]" or "Generated by Claude"). For each detection pattern, you can drill into:
209
+
210
+
1.**Repositories**—which repositories contain this detection, with file and reference counts
211
+
2.**Files**—the specific files within each repository
212
+
3.**References**—the exact lines where the tool is referenced, with direct links to the file in your Git provider
0 commit comments