Skip to content

Conversation

@surajitshil-03
Copy link
Contributor

@surajitshil-03 surajitshil-03 commented Dec 8, 2025

Context

This PR resolves CFS0011 compliance warnings in the courtesy push pipeline by adding required NuGet.config files for .NET projects in the repository. Component Framework Scanning (CFS) requires explicit package source declarations for all .csproj files to ensure security and compliance with Microsoft's open-source dependency policies.

Work-item: AB#2340256
Task: AB#2340257


Task Name

NA


Description

Added NuGet.config file at the root level of the repo so that all the .csproj files can use this config file during the CFS scan

Earlier we used to get warnings like this:
image

After adding the necessary files we don't get those CFS warnings:
image


Risk Assessment (Low / Medium / High)

Low


Change Behind Feature Flag (Yes / No)

No
This is a compliance/configuration fix required for the pipeline to pass CFS scanning.


Tech Design / Approach

  • CFS requires explicit NuGet.config files for .csproj projects to track package provenance
  • We are using the Azure Artifacts Feed (PipelineTools_PublicNugetFeed) where we have added the upstream source appropriately in accordance to the required packages.

Documentation Changes Required (Yes/No)

No


Unit Tests Added or Updated (Yes / No)

No


Additional Testing Performed

Tested locally as well as running the courtesy push pipeline in dryRun mode: https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=30798287&view=results


Logging Added/Updated (Yes/No)

No


Telemetry Added/Updated (Yes/No)

No


Rollback Scenario and Process (Yes/No)

Yes
Rollback: Simply revert this PR. The only impact would be CFS warnings returning (non-blocking for functionality).


Dependency Impact Assessed and Regression Tested (Yes/No)

NA


Checklist

NA

@surajitshil-03 surajitshil-03 changed the title Fix warning: CFS0011 due to missing NuGet.config files Fix warning in Courtesy Push Pipeline: CFS0011 due to missing NuGet.config files Dec 8, 2025
@surajitshil-03
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@surajitshil-03 surajitshil-03 marked this pull request as ready for review December 8, 2025 11:45
@surajitshil-03
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@surajitshil-03
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@surajitshil-03
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@surajitshil-03
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@surajitshil-03 surajitshil-03 merged commit 2ec2592 into master Dec 9, 2025
14 checks passed
@surajitshil-03 surajitshil-03 deleted the users/surajitshil/fixCFS0011 branch December 9, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants