Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

Description

Ports the 1ES Inventory-As-Code configuration update from PR #3919 to the release/6.1 branch.

Adds es-metadata.yml with schema version 1.0.0, replacing the deprecated 0.0.1 format. The updated schema requires the configuration to be nested under a providers array with explicit provider and version declarations.

Key changes:

  • Schema version: 0.0.11.0.0
  • Added providers array structure with InventoryAsCode provider
  • Nested existing metadata (isProduction, accountableOwners, routing) under provider metadata
  • Added inline documentation referencing 1ES schema docs and Service Tree

Issues

Reference: #3919

Testing

Configuration file only - no automated tests required. The schema will be validated by 1ES tooling during inventory sync.

Guidelines

Please review the contribution guidelines before submitting a pull request:

Original prompt

Description

Port the changes from PR #3919 to the release/6.1 branch.

Changes Required

Update the es-metadata.yml file to match the latest 1ES inventory schema (version 1.0.0).

The file should be updated with the following content:

# 1ES Inventory-As-Code Configuration:
#
# https://eng.ms/docs/coreai/devdiv/one-engineering-system-1es/1es-docs/product-catalog/inventory-as-code/schema

schemaVersion: 1.0.0

providers:
  - provider: InventoryAsCode
    version: 1.0.0
    metadata:

      # SqlClient is a production repo.
      isProduction: true

      accountableOwners:

        # This is the SqlClient Service Tree GUID:
        #
        # https://microsoftservicetree.com/services/24ff40ff-f299-428e-9508-d67fdeb2f473
        #
        service: 24ff40ff-f299-428e-9508-d67fdeb2f473

      routing:
        defaultAreaPath:

          # The SqlClient Azure DevOps organization and project.
          #
          # https://sqlclientdrivers.visualstudio.com/ADO.Net
          #
          org: sqlclientdrivers
          path: ADO.Net

Reference

This ports the changes from PR #3919: #3919

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: paulmedynski <31868385+paulmedynski@users.noreply.github.com>
Copilot AI changed the title [WIP] Update es-metadata.yml for 1ES inventory schema Port es-metadata.yml from PR #3919 to release/6.1 Jan 29, 2026
Copilot AI requested a review from paulmedynski January 29, 2026 18:23
@paulmedynski paulmedynski marked this pull request as ready for review January 29, 2026 18:26
@paulmedynski paulmedynski requested a review from a team as a code owner January 29, 2026 18:26
Copilot AI review requested due to automatic review settings January 29, 2026 18:26
Copy link
Contributor

Copilot AI left a comment

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 ports the 1ES Inventory-As-Code configuration update from PR #3919 to the release/6.1 branch, upgrading the metadata schema from version 0.0.1 to 1.0.0 to comply with the latest 1ES inventory requirements.

Changes:

  • Adds es-metadata.yml with schema version 1.0.0
  • Introduces providers array structure with explicit InventoryAsCode provider declaration
  • Includes production designation, Service Tree GUID, and Azure DevOps routing configuration

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