Skip to content

Commit

Permalink
Merge pull request #58 from veraison/ar-no-more
Browse files Browse the repository at this point in the history
chore(api): remove AttestationResult definition
  • Loading branch information
thomas-fossati authored Aug 27, 2024
2 parents 3b6f647 + 866e488 commit 6dc016c
Showing 1 changed file with 0 additions and 70 deletions.
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

0 comments on commit 6dc016c

Please sign in to comment.