Skip to content

Commit

Permalink
chore(api): remove AttestationResult definition
Browse files Browse the repository at this point in the history
It has been superseded by EAR.

Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed Aug 22, 2024
1 parent a02a95a commit 866e488
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 866e488

Please sign in to comment.