Skip to content

Adding pe update2#214

Open
iriaosara wants to merge 4 commits into
AzureCosmosDB:mainfrom
iriaosara:adding-PE-update2
Open

Adding pe update2#214
iriaosara wants to merge 4 commits into
AzureCosmosDB:mainfrom
iriaosara:adding-PE-update2

Conversation

@iriaosara

Copy link
Copy Markdown

Description

Type of Change

  • 📝 New rule - Adding a new best practice rule
  • ✏️ Rule improvement - Updating an existing rule
  • 🆕 New skill - Adding an entirely new skill
  • 🐛 Bug fix - Fixing an issue with existing content
  • 📚 Documentation - Updating README, CONTRIBUTING, or other docs
  • 🔧 Build/Scripts - Changes to build process or scripts

Checklist

  • I have read the Contributing Guide
  • I ran npm run validate and it passed
  • I ran npm run build to regenerate AGENTS.md (if adding/updating rules)
  • My rule file follows the naming convention: {prefix}-{description}.md
  • My rule includes valid frontmatter (title, impact, tags)

For New Rules

Rule file: skills/cosmosdb-best-practices/rules/_____.md

Category:

Impact level:

Why is this rule important?

Agent Testing

  • Tested with GitHub Copilot
  • Tested with Claude Code
  • Tested with Cursor
  • Tested with other agent: _____
  • N/A (documentation only)

Related Issues

Additional Notes

Copilot AI review requested due to automatic review settings June 19, 2026 16:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the repository’s Cosmos DB guidance by adding a new security rule covering Private Endpoint DNS resolution pitfalls, and updates the compiled skill artifacts / supporting infrastructure so the guidance is surfaced to agents and testable via eval tasks.

Changes:

  • Added a new “Private Endpoint DNS Resolution” rule to both cosmosdb-security and cosmosdb-best-practices, and updated the compiled AGENTS.md outputs accordingly.
  • Updated the compiler’s default section list and the code-review checklist to recognize fts- and security- rule prefixes (and include new sections in compiled output).
  • Added an eval task to validate the private endpoint DNS troubleshooting guidance.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
skills/cosmosdb-security/rules/security-private-endpoint-dns.md New security rule content for private endpoint DNS setup/troubleshooting (source rule).
skills/cosmosdb-security/AGENTS.md Regenerated compiled output to include the new rule in the security skill.
skills/cosmosdb-best-practices/rules/security-private-endpoint-dns.md Same new rule added to best-practices skill’s Security section (source rule).
skills/cosmosdb-best-practices/AGENTS.md Regenerated compiled output; now includes FTS + Security sections and the new rule.
scripts/compile.js Updated default sections to add fts- and security- categories.
evals/cosmosdb-best-practices/tasks/security-private-endpoint-dns.yaml New eval task covering the private endpoint DNS failure mode prompt.
.github/skills/code-review/checklist.md Updated valid rule prefixes and clarified eval-task tagging expectations for new categories.

Comment thread skills/cosmosdb-security/rules/security-private-endpoint-dns.md Outdated
Comment thread skills/cosmosdb-security/rules/security-private-endpoint-dns.md Outdated
Comment thread skills/cosmosdb-security/rules/security-private-endpoint-dns.md Outdated
Comment thread skills/cosmosdb-best-practices/rules/security-private-endpoint-dns.md Outdated
Comment thread skills/cosmosdb-best-practices/rules/security-private-endpoint-dns.md Outdated
Comment thread skills/cosmosdb-best-practices/rules/security-private-endpoint-dns.md Outdated
iriaosara and others added 2 commits June 19, 2026 13:02
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Iria Osara <87394684+iriaosara@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread scripts/compile.js
Comment on lines +62 to +64
{ prefix: 'vector-', name: 'Vector Search', number: 11, impact: 'HIGH' },
{ prefix: 'fts-', name: 'Full-Text Search', number: 12, impact: 'HIGH' },
{ prefix: 'security-', name: 'Security', number: 13, impact: 'HIGH' }

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheovanKraay - thoughts?

Comment on lines +1 to +6
---
title: Configure Private Endpoints with Correct DNS Resolution
impact: HIGH
impactDescription: client connectivity failure when public network access is disabled and DNS resolves to the public endpoint
tags: connectivity, private-endpoint, dns, vnet, security, portal
---
@jaydestro

jaydestro commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@iriaosara there are some ongoing changes being evaluated to the structure that could require this to be modified. you'll definetely get notice when it's time to make any changes to avoid merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants