Add backticks to apparent code blocks; label some

This commit is contained in:
Gary Moore 2021-10-19 12:24:14 -07:00
parent 8af64f7c30
commit 8f62eeb9d2

View File

@ -103,6 +103,7 @@ This node will trigger attestation flow by launching an attestation process. If
<p>Templated SyncML Call:</p> <p>Templated SyncML Call:</p>
```xml
<SyncML xmlns="SYNCML:SYNCML1.2"> <SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody> <SyncBody>
<Exec> <Exec>
@ -124,6 +125,7 @@ This node will trigger attestation flow by launching an attestation process. If
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
```
<p>Data fields:</p> <p>Data fields:</p>
<ul> <ul>
@ -136,6 +138,7 @@ This node will trigger attestation flow by launching an attestation process. If
<p>Sample Data:</p> <p>Sample Data:</p>
```json
<Data> <Data>
{ {
"rpid" : "https://www.contoso.com/attestation", "rpid" : "https://www.contoso.com/attestation",
@ -145,6 +148,7 @@ This node will trigger attestation flow by launching an attestation process. If
"cv" : "testonboarded" "cv" : "testonboarded"
} }
</Data> </Data>
```
<a href="" id="AttestStatus"></a>**AttestStatus** <a href="" id="AttestStatus"></a>**AttestStatus**
<p>Node type: GET <p>Node type: GET
@ -154,6 +158,7 @@ The status is always cleared prior to making the attest service call.
<p>Templated SyncML Call:</p> <p>Templated SyncML Call:</p>
```xml
<SyncML xmlns="SYNCML:SYNCML1.2"> <SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody> <SyncBody>
<Get> <Get>
@ -168,12 +173,15 @@ The status is always cleared prior to making the attest service call.
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
```
<p>Sample Data:</p> <p>Sample Data:</p>
```
If Successful: 0 If Successful: 0
If Failed: A corresponding HRESULT error code If Failed: A corresponding HRESULT error code
Example: 0x80072efd, WININET_E_CANNOT_CONNECT Example: 0x80072efd, WININET_E_CANNOT_CONNECT
```
<a href="" id="getAttestReport"></a>**GetAttestReport** <a href="" id="getAttestReport"></a>**GetAttestReport**
<p>Node type: GET <p>Node type: GET
@ -182,6 +190,7 @@ This node will retrieve the attestation report per the call made by the TriggerA
<p>Templated SyncML Call:</p> <p>Templated SyncML Call:</p>
```xml
<SyncML xmlns="SYNCML:SYNCML1.2"> <SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody> <SyncBody>
<Get> <Get>
@ -196,14 +205,17 @@ This node will retrieve the attestation report per the call made by the TriggerA
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
```
<p>Sample data:</p> <p>Sample data:</p>
```
If Success: If Success:
JWT token: aaaaaaaaaaaaa.bbbbbbbbbbbbb.cccccccccc JWT token: aaaaaaaaaaaaa.bbbbbbbbbbbbb.cccccccccc
If failed: If failed:
Previously cached report if available (the token may have already expired per the attestation policy). Previously cached report if available (the token may have already expired per the attestation policy).
OR Sync ML 404 error if not cached report available. OR Sync ML 404 error if not cached report available.
```
<a href="" id="getServiceCorrelationIDs"></a>**GetServiceCorrelationIDs** <a href="" id="getServiceCorrelationIDs"></a>**GetServiceCorrelationIDs**
<p>Node type: GET <p>Node type: GET
@ -211,6 +223,7 @@ This node will retrieve the service generated correlation IDs for the given MDM
</p> </p>
<p>Templated SyncML Call:</p> <p>Templated SyncML Call:</p>
```xml
<SyncML xmlns="SYNCML:SYNCML1.2"> <SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody> <SyncBody>
<Get> <Get>
@ -225,6 +238,7 @@ This node will retrieve the service generated correlation IDs for the given MDM
<Final/> <Final/>
</SyncBody> </SyncBody>
</SyncML> </SyncML>
```
<p>Sample data:</p> <p>Sample data:</p>
@ -380,6 +394,7 @@ c:[type=="events", issuer=="AttestationService"] => issue(type="bootRevListInfo"
}; };
``` ```
</li> </li>
<br><li>Call TriggerAttestation with your rpid, AAD token and the attestURI:<br> <br><li>Call TriggerAttestation with your rpid, AAD token and the attestURI:<br>
Use the Attestation URL generated in step 1, and append the appropriate api version you want to hit. More information about the api version can be found here Attestation - Attest Tpm - REST API (Azure Azure Attestation) | Microsoft Docs</li> Use the Attestation URL generated in step 1, and append the appropriate api version you want to hit. More information about the api version can be found here Attestation - Attest Tpm - REST API (Azure Azure Attestation) | Microsoft Docs</li>
@ -387,7 +402,7 @@ Use the Attestation URL generated in step 1, and append the appropriate api vers
GetAttestReport return the signed attestation token as a JWT.The JWT can be decoded to parse the information per the attestation policy. GetAttestReport return the signed attestation token as a JWT.The JWT can be decoded to parse the information per the attestation policy.
<br> <br>
```json
{ {
"typ": "JWT", "typ": "JWT",
"alg": "RS256", "alg": "RS256",
@ -442,7 +457,7 @@ GetAttestReport return the signed attestation token as a JWT.The JWT can be deco
"testSigningDisabled": true, "testSigningDisabled": true,
"vbsEnabled": true "vbsEnabled": true
}.[Signature] }.[Signature]
```
</li> </li>
</ol> </ol>