Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions docs/guides/all/enforce-ai-coding-security-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,16 @@ We will create a detailed scorecard that evaluates repositories based on their c

6. Click `Save` to create the scorecard.

:::tip Rule customization
You can customize the scoring rules based on your organization's specific requirements:
- Add rules for specific security keywords or patterns
- Include rules for minimum content length
- Create rules for specific AI tool compliance
- Add rules for regular updates to security guidelines
:::
:::info Scorecard rules explained
This scorecard evaluates repositories based on four key AI coding security standards:

1. **Security Instructions**: Checks if repositories have AI-specific security guidelines
2. **GitHub Copilot Documentation Standards**: Verifies presence of documentation instructions for AI tools
3. **GitHub Copilot Coding Standards**: Ensures general coding instructions are defined for AI assistance
4. **Language-Specific Coding Standards**: Validates that language-specific AI coding guidelines exist

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.
:::


## Create dashboard
Expand Down Expand Up @@ -409,6 +411,8 @@ In the new dashboard, create the following widgets:

</details>

<img src='/img/guides/ai-coding-security-standards-entire-dashboard.png' border="1px" width="100%" />

## Related guides

- [Auto-fix services when scorecards degrade](https://docs.port.io/guides/all/self-heal-scorecards-with-ai/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.