diff --git a/specs/SHIELD.json b/specs/SHIELD.json index 6e875a7..1aa7bfe 100644 --- a/specs/SHIELD.json +++ b/specs/SHIELD.json @@ -445,164 +445,6 @@ } ] }, - "Authenticator.RequestStatus": { - "title": "Authentication - Status", - "description": "List of credentials that are being waited for by SHIELD's internal authentication engine.", - "properties": { - "accessToken": { - "oneOf": [ - { - "description": "Flag that represents if the server is not waiting for a specific access token.", - "type": "boolean", - "examples": [ - false - ] - }, - { - "$ref": "#/components/schemas/Authenticator.Status.TokenAudience" - } - ], - "examples": [ - false, - { - "audience": "00000002-0000-0000-b000-000000000000" - } - ] - }, - "sccAuth": { - "description": "Flag that represents if the server is waiting for SCC Auth credentials.", - "type": "boolean", - "examples": [ - true - ] - } - }, - "type": "object", - "required": [ - "accessToken", - "sccAuth" - ], - "examples": [ - { - "accessToken": { - "audience": "00000002-0000-0000-b000-000000000000" - }, - "sccAuth": true - } - ] - }, - "Authenticator.Status.TokenAudience": { - "title": "SHIELD - Authenticator - Status - Token Audience", - "description": "If a access token is being requested, this is the audience that the access token should have when being submitted.", - "properties": { - "audience": { - "description": "Audience ID of the access token that is being requested.", - "type": "string", - "format": "uuid", - "maxLength": 36, - "minLength": 36, - "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$", - "examples": [ - "00000002-0000-0000-b000-000000000000" - ] - } - }, - "type": "object", - "required": [ - "audience" - ], - "examples": [ - { - "audience": "00000002-0000-0000-b000-000000000000" - } - ] - }, - "Authenticator.Container.SccAuthCredentials": { - "title": "SHIELD - Authenticator - SCC Auth", - "description": "SHIELD - Defender, and Purview portal Container Credentials", - "type": "object", - "properties": { - "authenticatedUpn": { - "description": "User principal name of the user that authenticated to the portals.", - "examples": [ - "user@example.com" - ], - "type": "string", - "format": "email" - }, - "expiration": { - "description": "Point in time at which the whole authentication structure has an expired state and is un-useable.", - "examples": [ - "2024-09-26T18:16:29.340Z" - ], - "type": "string", - "format": "date-time" - }, - "defender": { - "$ref": "#/components/schemas/Authenticator.Container.SccAuthCredentials.CredentialContainer" - }, - "security": { - "$ref": "#/components/schemas/Authenticator.Container.SccAuthCredentials.CredentialContainer" - }, - "purview": { - "$ref": "#/components/schemas/Authenticator.Container.SccAuthCredentials.CredentialContainer" - } - }, - "required": [ - "authenticatedUpn", - "security", - "purview" - ], - "examples": [ - { - "authenticatedUpn": "user@example.com", - "security": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - }, - "purview": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - }, - "expiration": "2024-09-26T18:16:29.340Z", - "defender": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - } - } - ] - }, - "Authenticator.Container.SccAuthCredentials.CredentialContainer": { - "title": "SHIELD - Authenticator - SCC Auth - Credential Container", - "description": "Container for the credentials for a single SccAuth authenticated site.", - "properties": { - "sccAuth": { - "description": "Authentication token.", - "examples": [ - "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)" - ], - "type": "string" - }, - "xsrf": { - "description": "Cross Site Request Forgery Prevention Token.", - "examples": [ - "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - ], - "type": "string" - } - }, - "required": [ - "sccAuth", - "xsrf" - ], - "type": "object", - "examples": [ - { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - } - ] - }, "Deploy.ConfigurationTag": { "title": "Deploy - Configuration Tag", "description": "Definition of an object representing configuration tag used within architecture collections.", @@ -4125,7 +3967,7 @@ }, "description": "Deprive your threats of practical significance. Deploy the Securing Privilege Access architecture. All in a few seconds.", "title": "SHI Environment Lockdown and Defense", - "version": "3.2.1" + "version": "4.0.0" }, "openapi": "3.1.1", "paths": { @@ -4226,186 +4068,6 @@ "summary": "Retrieves the IDs Required to Authenticate." } }, - "/Api/Auth/Authenticator": { - "get": { - "summary": "Provides Attestation for Authenticator App", - "description": "Provides the attestation to the authenticator that this endpoint is authorized for receiving credentials from the authenticator.\n\nThis endpoint requires the `Authentication.Actions.Attest`, or the `Everything.ReadWrite` scope (permission).", - "operationId": "/Api/Auth/Authenticator/GetAttest", - "responses": { - "200": { - "content": { - "text/plain": { - "schema": { - "description": "Access token that SHIELD uses to prove it is a valid recipient of credentials.", - "type": "string", - "examples": [ - "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik1jN2wzSXo5M2c3dXdnTmVFbW13X1dZR1BrbyJ9.eyJhdWQiOiJjYjU5ZjIyOC0wNjkwLTRhY2ItOWE3Yi0wMGMzNmEyZjRlOGQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMmQxMDJkYTktZDExZS00YTgwLTkwMjItYzQxOGZhNDg1NGM3L3YyLjAiLCJpYXQiOjE3MjczNjgzODQsIm5iZiI6MTcyNzM2ODM4NCwiZXhwIjoxNzI3MzcyMjg0LCJhaW8iOiJBU1FBMi84WUFBQUF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Jvc29mdG9ubGluZS5jb20vMmQxMDJkYTktZDExZS00YTgwLTkwMjItYzQxOGZhNDg1NGM3L3YyLjAiLCJpYXQiOjE3MjczNjgzODQsIm5iZiI6MTcyNzM2ODM4NCwiZXhwIjoxNzI3MzcyMjg0LCJhaW8iOiJBU1FBMi84WUFBQUFSN0hyaW5XTmRwcisvdnoreWlkZER6WVExeFRpc3BSZGY4TG1XNjhRaE0wPSIsImF6cCI6IjRlODU5MTQ2LWY5M2UtNDlmMi05ODZmLWI3MjIyNmZjZDViOSIsImF6cGFjciI6IjEiLCJvaWQiOiJlMmRlNzQ0ZC1hZjVlLTQ4NDEtYmI4Zi02OTRkZDI1ZmVmNGQiLCJyaCI6IjAuQWNvQXFTMFFMUjdSZ0VxUUlzUVkta2hVeHlqeVdjdVFCc3RLbW5zQXcyb3ZUbzM2QUFBLiIsInJvbGVzIjpbIkF1dGhlbnRpY2F0b3IuQXR0ZXN0Il0sInN1YiI6ImUyZGU3NDRkLWFmNWUtNDg0MS1iYjhmLTY5NGRkMjVmZWY0ZCIsInRpZCI6IjJkMTAyZGE5LWQxMWUtNGE4MC05MDIyLWM0MThmYTQ4NTRjNyIsInV0aSI6Il9MaUdVWWxmS2txNFZoR09NeGw4QUEiLCJ2ZXIiOiIyLjAifQ.xlXZfOnDoOVW3_aOiSIZH8uiySeohro-HVnDzDEff2EjmOk9adrTOP5Sw1av6g3vy38r6dSu4tViwNGrb7Z2krgRKKvp-4A9rkPqeJjjd2rhFl2KiOlxL0mmykbroZZ70RJzwHy2GC7wfuLwJwr-5m7POV2grbxIAlTsMdZWDFXYi-AahfDVtLugarWG5-tXAqiPBKjaU6ntAJIbu7Ol1vYZaeYMsNKTs8O1P10YM460zN9OkfoI1gV7_InHEr8RSyQnEPCJ2W1Or4lDhqdey4ohMoP9EzLgMsn9Ckss5g5C6vVE0GQawUoeGozPOBpgb31J8JzZUyB1JyVfi-vKkQ", - "summary": "Example Valid Access Token", - "description": "An example string that represents the access token that SHIELD uses to prove it is a valid recipient of credentials." - } - } - } - }, - "description": "OK" - } - }, - "tags": [ - "Authentication" - ] - } - }, - "/Api/Auth/Authenticator/Cache/Status": { - "get": { - "summary": "Indicates If SHIELD Is Waiting for Any Credentials.", - "description": "Provides a breakdown view of if SHIELD is waiting for any specific type of credential or credentials.\n\nThis endpoint requires the `Authentication.Read`, `Authentication.ReadWrite`, or the `Everything.ReadWrite` scope (permission).", - "operationId": "/Api/Auth/Authenticator/Cache/Status/Get", - "responses": { - "200": { - "content": { - "application/json": { - "examples": { - "Waiting on Nothing": { - "summary": "Not Waiting for Credentials", - "description": "No credentials are being requested at the moment.", - "value": { - "accessToken": false, - "sccAuth": false - } - }, - "Waiting on Access Token": { - "summary": "Waiting on Access Token", - "description": "Waiting on an Access Token with the Audience of the Legacy Windows Graph API.", - "value": { - "accessToken": { - "audience": "00000002-0000-0000-c000-000000000000" - }, - "sccAuth": false - } - }, - "Waiting on SccAuth": { - "summary": "Waiting on SCC Auth Data", - "description": "Waiting on an SCC Auth data from the SHIELD - Authenticator App.", - "value": { - "accessToken": false, - "sccAuth": true - } - } - }, - "schema": { - "$ref": "#/components/schemas/Authenticator.RequestStatus" - } - } - }, - "description": "OK" - } - }, - "tags": [ - "Authentication" - ] - } - }, - "/Api/Auth/Authenticator/Cache/SccAuth": { - "post": { - "description": "Configure SHIELD to use the specific SCC Auth credentials from the authenticator app to run web requests on behalf of the end user.\n\nThis endpoint requires the `Authentication.ReadWrite`, or the `Everything.ReadWrite` scope (permission).", - "operationId": "/Api/Auth/Authenticator/Cache/SccAuth/Post", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Authenticator.Container.SccAuthCredentials" - }, - "examples": { - "valid Scc Auth credentials": { - "value": { - "authenticatedUpn": "user@example.com", - "security": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - }, - "purview": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - }, - "expiration": "2024-09-26T18:16:29.340Z", - "defender": { - "sccAuth": "54BKPtTL-eSMFp5cqYTMMSblm2U80cUJqQgmbe4f_sRn4ammMmU1NKNurn9HqpsUtS4FrMJRTKa3Or_pFbedM_57R0fVBfNJ-m2Pvey9OweWIDradzT0dB1WnufPTJiT2y7zSQy91Y9wJIn1_aY5q-MNh75qwjM84Dng-mYzbd9KqUfyPUolOo-j-... (Truncated)", - "xsrf": "PEDwTvWdm2qSTe-n8h-1praK4OcQK1ELTJ08DWYqBRzQiyA2MIuEKEMNLu4ExjDNpAOUnAxmsqOeuGzb82MJYkegOE6hW8BzpSM6k9nbTbJ4yjNGzMSQvWUnyqrBvGa8JfSRiSeaKdXGBnxGd90Spw2:... (truncated)" - } - }, - "summary": "Example SCC Auth Credentials", - "description": "An example of valid Scc Auth credentials used to configure SHIELD." - } - } - } - } - }, - "responses": { - "204": { - "description": "Credential was successfully stored" - } - }, - "summary": "Provide Your SHIELD Authenticator Credentials - SCC Auth", - "tags": [ - "Authentication" - ] - } - }, - "/Api/Auth/Authenticator/Cache/AccessToken": { - "post": { - "summary": "Provide Your SHIELD Authenticator Credentials - Access Token", - "description": "Configure SHIELD to use the specific Access Token credentials from the authenticator app to run web requests on behalf of the end user.\n\nThis endpoint requires the `Authentication.ReadWrite`, or the `Everything.ReadWrite` scope (permission).", - "operationId": "/Api/Auth/Authenticator/Cache/AccessToken/Post", - "requestBody": { - "content": { - "application/json": { - "schema": { - "description": "Access Token to be stored in the SHIELD authentication engine.", - "type": "object", - "properties": { - "token": { - "description": "This is transmitted as a property instead of a raw string as the body parser ignores it in Express.JS. Functionally identical though.", - "type": "string", - "examples": [ - "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik1jN2wzSXo5M2c3dXdnTmVFbW13X1dZR1BrbyJ9.eyJhdWQiOiI0YzQwMjgxYi1hMzA1LTRhYWYtOTBhNC1kNWJiZWU2ZWI4ZWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMmQxMDJkYTktZDExZS00YTgwLTkwMjItYzQxOGZhNDg1NGM3L3YyLjAiLCJpYXQiOjE3MjczNzUzNzMsIm5iZiI6MTcyNzM3NTM3MywiZXhwIjoxNzI3Mzc5MjczLCJhaW8iOiJrMkJnWU9BM1ByL2lTc2loRmYzeU9uVk40UTZOc1dsZnRnWEhoMW5HYm5saWVuS1hRZ2tBIiwiYXpwIjoiNGU4NTkxNDYtZjkzZS00OWYyLTk4NmYtYjcyMjI2ZmNkNWI5IiwiYXpwYWNyIjoiMSIsIm9pZCI6ImUyZGU3NDRkLWFmNWUtNDg0MS1iYjhmLTY5NGRkMjVmZWY0ZCIsInJoIjoiMC5BY29BcVMwUUxSN1JnRXFRSXNRWS1raFV4eHNvU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example Request Body", - "description": "An example object that represents the request body to be sent to the API endpoint." - } - } - } - } - }, - "responses": { - "204": { - "description": "Credential was successfully stored" - }, - "400": { - "description": "Invalid Access Token" - } - }, - "tags": [ - "Authentication" - ] - } - }, "/Api/Update": { "get": { "summary": "Checks if an Update Is Pending", diff --git a/src/shield/TypeScript/package-lock.json b/src/shield/TypeScript/package-lock.json index 789341d..acc2920 100644 --- a/src/shield/TypeScript/package-lock.json +++ b/src/shield/TypeScript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shi-corp/sdk-shield", - "version": "3.2.1", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@shi-corp/sdk-shield", - "version": "3.2.1", + "version": "4.0.0", "license": "MIT", "dependencies": { "@microsoft/kiota-authentication-azure": "~1.0.0-preview.99", diff --git a/src/shield/TypeScript/package.json b/src/shield/TypeScript/package.json index 0c58a59..f6e1047 100644 --- a/src/shield/TypeScript/package.json +++ b/src/shield/TypeScript/package.json @@ -1,6 +1,6 @@ { "name": "@shi-corp/sdk-shield", - "version": "3.2.1", + "version": "4.0.0", "type": "module", "main": "bin/index.js", "description": "SDK client used to interface with the SHIELD application.",