26 instantiations of ProvenanceVerificationResult
aspire (22)
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (8)
53
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationFetchFailed };
61
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationFetchFailed };
67
return new
ProvenanceVerificationResult
83
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
89
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.SourceRepositoryMismatch };
110
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
117
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
130
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
Npm\SigstoreNpmProvenanceChecker.cs (14)
76
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationFetchFailed };
87
return new
ProvenanceVerificationResult
101
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
126
return new
ProvenanceVerificationResult
{ Outcome = subjectOutcome };
134
return new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed };
255
return (new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.SourceRepositoryMismatch }, null);
275
return (new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed }, null);
287
return (new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.AttestationParseFailed }, null);
467
return new
ProvenanceVerificationResult
476
return new
ProvenanceVerificationResult
485
return new
ProvenanceVerificationResult
496
return new
ProvenanceVerificationResult
505
return new
ProvenanceVerificationResult
513
return new
ProvenanceVerificationResult
Aspire.Cli.Tests (4)
Agents\AspireSkillsInstallerTests.cs (2)
1761
Result = new
ProvenanceVerificationResult
{ Outcome = ProvenanceVerificationOutcome.WorkflowMismatch }
2226
public ProvenanceVerificationResult Result { get; init; } =
new
()
Agents\PlaywrightCliInstallerTests.cs (1)
1050
return Task.FromResult(new
ProvenanceVerificationResult
TestServices\FakePlaywrightServices.cs (1)
37
=> Task.FromResult(new
ProvenanceVerificationResult
30 references to ProvenanceVerificationResult
aspire (10)
Agents\AspireSkills\AspireSkillsInstaller.cs (1)
230
var
provenanceResult = await githubArtifactAttestationVerifier.VerifyAsync(
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (2)
18
Task<
ProvenanceVerificationResult
> VerifyAsync(
32
public async Task<
ProvenanceVerificationResult
> VerifyAsync(
Agents\Playwright\PlaywrightCliInstaller.cs (1)
214
var
provenanceResult = await provenanceChecker.VerifyProvenanceAsync(
Npm\INpmProvenanceChecker.cs (2)
202
/// <returns>A <see cref="
ProvenanceVerificationResult
"/> indicating the outcome and any extracted provenance data.</returns>
203
Task<
ProvenanceVerificationResult
> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, string? sriIntegrity, CancellationToken cancellationToken);
Npm\SigstoreNpmProvenanceChecker.cs (4)
60
public async Task<
ProvenanceVerificationResult
> VerifyProvenanceAsync(
137
var
result = VerifyProvenanceFields(
244
private async Task<(
ProvenanceVerificationResult
? Failure, VerificationResult? Result)> VerifySigstoreBundleAsync(
458
internal static
ProvenanceVerificationResult
VerifyProvenanceFields(
Aspire.Cli.Tests (20)
Agents\AspireSkillsInstallerTests.cs (2)
2226
public
ProvenanceVerificationResult
Result { get; init; } = new()
2236
public async Task<
ProvenanceVerificationResult
> VerifyAsync(
Agents\PlaywrightCliInstallerTests.cs (1)
1045
public Task<
ProvenanceVerificationResult
> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, string? sriIntegrity, CancellationToken cancellationToken)
Agents\SigstoreNpmProvenanceCheckerTests.cs (16)
135
var
result = await VerifyThroughCheckerAsync(
146
var
result = await VerifyThroughCheckerAsync(
295
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
317
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
347
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
368
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
388
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
408
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
429
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
703
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
735
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
762
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
784
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
811
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
831
var
result = SigstoreNpmProvenanceChecker.VerifyProvenanceFields(
1150
private static async Task<
ProvenanceVerificationResult
> VerifyThroughCheckerAsync(
TestServices\FakePlaywrightServices.cs (1)
36
public Task<
ProvenanceVerificationResult
> VerifyProvenanceAsync(string packageName, string version, string expectedSourceRepository, string expectedWorkflowPath, string expectedBuildType, Func<WorkflowRefInfo, bool>? validateWorkflowRef, string? sriIntegrity, CancellationToken cancellationToken)