diff --git a/.pipelines/pipeline.user.windows.buddy.yml b/.pipelines/pipeline.user.windows.buddy.yml index fec6556af7..26fea15e6f 100644 --- a/.pipelines/pipeline.user.windows.buddy.yml +++ b/.pipelines/pipeline.user.windows.buddy.yml @@ -67,14 +67,3 @@ test: name: 'Custom tests' command: '.pipelines/04_test.cmd' fail_on_stderr: false - -static_analysis_options: - credscan_options: - fail_on_error: true - binskim_options: - fail_on_error: true - files_to_scan: - - from: 'src' - policheck_options: - scan_comments: true - fail_on_error: true diff --git a/.pipelines/pipeline.user.windows.official.redfield.yml b/.pipelines/pipeline.user.windows.official.redfield.yml index abdca580ba..8070e33aff 100644 --- a/.pipelines/pipeline.user.windows.official.redfield.yml +++ b/.pipelines/pipeline.user.windows.official.redfield.yml @@ -67,14 +67,3 @@ test: name: 'Custom tests' command: '.pipelines/04_test.cmd' fail_on_stderr: false - -static_analysis_options: - credscan_options: - fail_on_error: true - binskim_options: - fail_on_error: true - files_to_scan: - - from: 'src' - policheck_options: - scan_comments: true - fail_on_error: true diff --git a/.pipelines/pipeline.user.windows.official.yml b/.pipelines/pipeline.user.windows.official.yml index a1e7f9857e..3afec2e448 100644 --- a/.pipelines/pipeline.user.windows.official.yml +++ b/.pipelines/pipeline.user.windows.official.yml @@ -67,14 +67,3 @@ test: name: 'Custom tests' command: '.pipelines/04_test.cmd' fail_on_stderr: false - -static_analysis_options: - credscan_options: - fail_on_error: true - binskim_options: - fail_on_error: true - files_to_scan: - - from: 'src' - policheck_options: - scan_comments: true - fail_on_error: true diff --git a/.pipelines/pipeline.user.yml b/.pipelines/pipeline.user.yml index bf2b414d5e..d76c06cf0a 100644 --- a/.pipelines/pipeline.user.yml +++ b/.pipelines/pipeline.user.yml @@ -2,3 +2,17 @@ artifact_publish_options: publish_to_legacy_artifacts: false publish_to_pipeline_artifacts: true publish_to_cloudvault_artifacts: false + +static_analysis_options: + credscan_options: + disable_tool_scan: false + fail_on_error: true + binskim_options: + disable_tool_scan: false + fail_on_error: true + files_to_scan: + - from: 'src' + policheck_options: + disable_tool_scan: false + fail_on_error: true + scan_comments: true