Skip to content

Commit 6fc2ee8

Browse files
committed
improve on guide
1 parent c443abd commit 6fc2ee8

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

docs/guides/all/enforce-ai-coding-security-standards.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,16 @@ We will create a detailed scorecard that evaluates repositories based on their c
355355

356356
6. Click `Save` to create the scorecard.
357357

358-
:::tip Rule customization
359-
You can customize the scoring rules based on your organization's specific requirements:
360-
- Add rules for specific security keywords or patterns
361-
- Include rules for minimum content length
362-
- Create rules for specific AI tool compliance
363-
- Add rules for regular updates to security guidelines
364-
:::
358+
:::info Scorecard rules explained
359+
This scorecard evaluates repositories based on four key AI coding security standards:
360+
361+
1. **Security Instructions**: Checks if repositories have AI-specific security guidelines
362+
2. **GitHub Copilot Documentation Standards**: Verifies presence of documentation instructions for AI tools
363+
3. **GitHub Copilot Coding Standards**: Ensures general coding instructions are defined for AI assistance
364+
4. **Language-Specific Coding Standards**: Validates that language-specific AI coding guidelines exist
365365

366+
You can modify these rules to match your organization's specific requirements by adjusting the property names, adding new conditions, or changing the scoring criteria.
367+
:::
366368

367369

368370
## Create dashboard
@@ -409,6 +411,8 @@ In the new dashboard, create the following widgets:
409411

410412
</details>
411413

414+
<img src='/img/guides/ai-coding-security-standards-entire-dashboard.png' border="1px" width="100%" />
415+
412416
## Related guides
413417

414418
- [Auto-fix services when scorecards degrade](https://docs.port.io/guides/all/self-heal-scorecards-with-ai/)
223 KB
Loading

0 commit comments

Comments
 (0)