Skip to content

Commit 1beb3bb

Browse files
committed
fix: add required Terraform code block to README
Adds the required Terraform usage example immediately after the h1 heading to satisfy the README validation requirements.
1 parent c715cf1 commit 1beb3bb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

registry/coder/modules/jfrog-xray/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ tags: [security, scanning, jfrog, xray, vulnerabilities]
1111

1212
This module integrates JFrog Xray vulnerability scanning results into Coder workspace metadata. It displays vulnerability counts (Critical, High, Medium, Low) for container images directly on the workspace page.
1313

14+
```tf
15+
module "jfrog_xray" {
16+
source = "registry.coder.com/modules/jfrog-xray/coder"
17+
version = "1.0.0"
18+
19+
resource_id = docker_container.workspace.id
20+
xray_url = "https://example.jfrog.io/xray"
21+
xray_token = var.jfrog_access_token
22+
image = "docker-local/codercom/enterprise-base:latest"
23+
}
24+
```
25+
1426
## Features
1527

1628
- **Automatic Vulnerability Display**: Shows vulnerability counts from JFrog Xray scans

0 commit comments

Comments
 (0)