Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(api): remove AttestationResult definition #58

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions api/challenge-response/schemas/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,76 +74,6 @@ components:
value:
$ref: '#/components/schemas/EvidenceBytes'

AttestationResult:
required:
- status
- timestamp
properties:
status:
$ref: "#/components/schemas/AttestationResultStatusValue"
description: >
Overall validation result
trust-vector:
$ref: "#/components/schemas/AttestationResultTrustVector"
description: >
A vector of status values characterising specific aspects of
attested evidence.
raw-evidence:
type: string
format: byte
description:
base64 encoded 32, 48, or 64 bytes evidence token as received by the verifier.
timestamp:
type: string
format: date-time
description: >
time (UTC ISO 8601 timestamp) at which the attestation result was
created.
endorsed-claims:
$ref: "#/components/schemas/AttestationResultEndorsedClaims"
description: >
Claims endorsed by the verifier based on the evidence extracted
from the evidence and available endorsements.
appraisal-policy-id:
type: string
description: >
An identifier of the policy that was used by the verifier to
evaluate the evidence and produce the attestation result.
veraison-processed-evidence:
type: object
description: >
Claims extracted from raw evidence.

AttestationResultTrustVector:
properties:
hw-authenticity:
$ref: "#/components/schemas/AttestationResultStatusValue"
sw-integrity:
$ref: "#/components/schemas/AttestationResultStatusValue"
sw-up-to-dateness:
$ref: "#/components/schemas/AttestationResultStatusValue"
config-integrity:
$ref: "#/components/schemas/AttestationResultStatusValue"
runtime-integrity:
$ref: "#/components/schemas/AttestationResultStatusValue"
certification-status:
$ref: "#/components/schemas/AttestationResultStatusValue"

AttestationResultStatusValue:
type: string
enum: [failure, success, unknown]

AttestationResultEndorsedClaims:
properties:
hw-details:
type: object
sw-details:
type: object
certification-details:
type: object
configdetails:
type: object

Problem:
required:
- title
Expand Down
Loading