Skip to content

Commit 4f80de3

Browse files
committed
Merge branch 'main' into gwh-APIDOCS-2931-mobile-server-side-guide
2 parents d02c4d2 + 59eedaf commit 4f80de3

File tree

12 files changed

+199
-118
lines changed

12 files changed

+199
-118
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Vulnerability Scan Failure Slack Notify
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
vulnerability_severity:
6+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. DO NOT use 'CRITICAL' unless a Jira ticket is raised.
7+
type: choice
8+
options:
9+
- CRITICAL,HIGH
10+
- CRITICAL,HIGH,MEDIUM
11+
- CRITICAL
12+
default: 'CRITICAL,HIGH'
13+
schedule:
14+
- cron: '0 16 * * *' # 9:00 AM GMT -7
15+
- cron: '0 0 * * *' # 5:00 PM GMT -7
16+
17+
jobs:
18+
vulnerability-scan-failure-notify:
19+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-vulnerability-scan-failure-notify.yaml@v3
20+
secrets:
21+
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
22+
with:
23+
scan_type: fs
24+

docs/getting-started/gs-encryption-decryption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following table describes the field layout for request encryption code.
5757

5858
| Offset (Bytes) | Size (Bytes) | Description |
5959
| :--- | :--- | :--- |
60-
| 0 | 8 | The <a href="../ref-info/glossary-uid#gl-unix-time">Unix</a> timestamp (in milliseconds). Must be int64 big endian. |
60+
| 0 | 8 | The <a href="../ref-info/glossary-uid#gl-unix-time">Unix</a> timestamp (in milliseconds) of the request, in int64 big endian format.<br/>When the server receives and decrypts the envelope, it checks the embedded timestamp. If the timestamp is older than 60 seconds, the request is considered stale and is rejected. |
6161
| 8 | 8 | Nonce: Random 64 bits of data used to help protect against replay attacks. The corresponding [Unencrypted Response Data Envelope](#unencrypted-response-data-envelope) should contain the same nonce value for the response to be considered valid. |
6262
| 16 | N | Payload, which is a request JSON document serialized in UTF-8 encoding. |
6363

@@ -96,7 +96,7 @@ The following table describes the field layout for response decryption code.
9696

9797
| Offset (Bytes) | Size (Bytes) | Description |
9898
| :--- | :--- | :--- |
99-
| 0 | 8 | The Unix timestamp (in milliseconds). Must be int64 big endian. |
99+
| 0 | 8 | The Unix timestamp (in milliseconds) of the response, in int64 big endian format. |
100100
| 8 | 8 | Nonce. For the response to be considered valid, this should match the nonce in the [unencrypted request data envelope](#unencrypted-request-data-envelope). |
101101
| 16 | N | Payload, which is a response JSON document serialized in UTF-8 encoding. |
102102

0 commit comments

Comments
 (0)