mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-15 23:16:36 +00:00
Fix API page generator and add missing integration nav entries (#680)
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
|
"strict": false,
|
||||||
|
"strictNullChecks": false,
|
||||||
|
"types": ["node"],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/*": ["./*"]
|
"~/*": ["./*"]
|
||||||
|
|||||||
@@ -45,13 +45,18 @@ export const apiNavigation = [
|
|||||||
title: 'Cloud Resources',
|
title: 'Cloud Resources',
|
||||||
links: [
|
links: [
|
||||||
{ title: 'Ingress Ports', href: '/api/resources/ingress-ports' },
|
{ title: 'Ingress Ports', href: '/api/resources/ingress-ports' },
|
||||||
{ title: 'IDP (SCIM)', href: '/api/resources/idp' },
|
{ title: 'IDP (Azure API)', href: '/api/resources/idp-azure-integrations' },
|
||||||
|
{ title: 'IDP (Google API)', href: '/api/resources/idp-google-integrations' },
|
||||||
|
{ title: 'IDP (Okta SCIM)', href: '/api/resources/idp-okta-scim-integrations' },
|
||||||
|
{ title: 'IDP (SCIM Generic)', href: '/api/resources/idp-scim-integrations' },
|
||||||
{ title: 'Event Streaming', href: '/api/resources/event-streaming-integrations' },
|
{ title: 'Event Streaming', href: '/api/resources/event-streaming-integrations' },
|
||||||
{ title: 'EDR Peers', href: '/api/resources/edr-peers' },
|
{ title: 'EDR Peers', href: '/api/resources/edr-peers' },
|
||||||
{ title: 'EDR Falcon', href: '/api/resources/edr-falcon-integrations' },
|
{ title: 'EDR Falcon', href: '/api/resources/edr-falcon-integrations' },
|
||||||
|
{ title: 'EDR FleetDM', href: '/api/resources/edr-fleetdm-integrations' },
|
||||||
{ title: 'EDR Huntress', href: '/api/resources/edr-huntress-integrations' },
|
{ title: 'EDR Huntress', href: '/api/resources/edr-huntress-integrations' },
|
||||||
{ title: 'EDR Intune', href: '/api/resources/edr-intune-integrations' },
|
{ title: 'EDR Intune', href: '/api/resources/edr-intune-integrations' },
|
||||||
{ title: 'EDR SentinelOne', href: '/api/resources/edr-sentinelone-integrations' },
|
{ title: 'EDR SentinelOne', href: '/api/resources/edr-sentinelone-integrations' },
|
||||||
|
{ title: 'Notifications', href: '/api/resources/notifications' },
|
||||||
{ title: 'MSP', href: '/api/resources/msp' },
|
{ title: 'MSP', href: '/api/resources/msp' },
|
||||||
{ title: 'Invoice', href: '/api/resources/invoice' },
|
{ title: 'Invoice', href: '/api/resources/invoice' },
|
||||||
{ title: 'Usage', href: '/api/resources/usage' },
|
{ title: 'Usage', href: '/api/resources/usage' },
|
||||||
|
|||||||
1732
src/pages/ipa/resources/edr-fleetdm-integrations.mdx
Normal file
1732
src/pages/ipa/resources/edr-fleetdm-integrations.mdx
Normal file
File diff suppressed because it is too large
Load Diff
1728
src/pages/ipa/resources/idp-azure-integrations.mdx
Normal file
1728
src/pages/ipa/resources/idp-azure-integrations.mdx
Normal file
File diff suppressed because it is too large
Load Diff
1655
src/pages/ipa/resources/idp-google-integrations.mdx
Normal file
1655
src/pages/ipa/resources/idp-google-integrations.mdx
Normal file
File diff suppressed because it is too large
Load Diff
1517
src/pages/ipa/resources/idp-okta-scim-integrations.mdx
Normal file
1517
src/pages/ipa/resources/idp-okta-scim-integrations.mdx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
export const title = 'IDP'
|
export const title = 'IDP SCIM Integrations'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -10,17 +10,7 @@ export const title = 'IDP'
|
|||||||
|
|
||||||
### Request-Body Parameters
|
### Request-Body Parameters
|
||||||
|
|
||||||
<Properties><Property name="prefix" type="string" required={true}>
|
<Properties><Property name="group_prefixes" type="string[]" required={false}>
|
||||||
|
|
||||||
The connection prefix used for the SCIM provider
|
|
||||||
|
|
||||||
</Property>
|
|
||||||
<Property name="provider" type="string" required={true}>
|
|
||||||
|
|
||||||
Name of the SCIM identity provider
|
|
||||||
|
|
||||||
</Property>
|
|
||||||
<Property name="group_prefixes" type="string[]" required={false}>
|
|
||||||
|
|
||||||
List of start_with string patterns for groups to sync
|
List of start_with string patterns for groups to sync
|
||||||
|
|
||||||
@@ -29,6 +19,16 @@ export const title = 'IDP'
|
|||||||
|
|
||||||
List of start_with string patterns for groups which users to sync
|
List of start_with string patterns for groups which users to sync
|
||||||
|
|
||||||
|
</Property>
|
||||||
|
<Property name="prefix" type="string" required={true}>
|
||||||
|
|
||||||
|
The connection prefix used for the SCIM provider
|
||||||
|
|
||||||
|
</Property>
|
||||||
|
<Property name="provider" type="string" required={true}>
|
||||||
|
|
||||||
|
Name of the SCIM identity provider
|
||||||
|
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
@@ -43,6 +43,13 @@ curl -X POST https://api.netbird.io/api/integrations/scim-idp \
|
|||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H 'Authorization: Token <TOKEN>' \
|
-H 'Authorization: Token <TOKEN>' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -50,20 +57,20 @@ curl -X POST https://api.netbird.io/api/integrations/scim-idp \
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const axios = require('axios');
|
const axios = require('axios');
|
||||||
let data = JSON.stringify({
|
let data = JSON.stringify({
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -71,14 +78,7 @@ let data = JSON.stringify({
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
});
|
});
|
||||||
let config = {
|
let config = {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -107,6 +107,13 @@ import json
|
|||||||
|
|
||||||
url = "https://api.netbird.io/api/integrations/scim-idp"
|
url = "https://api.netbird.io/api/integrations/scim-idp"
|
||||||
payload = json.dumps({
|
payload = json.dumps({
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -114,14 +121,7 @@ payload = json.dumps({
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
headers = {
|
headers = {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
@@ -150,6 +150,13 @@ func main() {
|
|||||||
method := "POST"
|
method := "POST"
|
||||||
|
|
||||||
payload := strings.NewReader(`{
|
payload := strings.NewReader(`{
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -157,14 +164,7 @@ func main() {
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
}`)
|
}`)
|
||||||
client := &http.Client {
|
client := &http.Client {
|
||||||
}
|
}
|
||||||
@@ -211,6 +211,13 @@ request["Accept"] = "application/json"
|
|||||||
request["Authorization"] = "Token <TOKEN>"
|
request["Authorization"] = "Token <TOKEN>"
|
||||||
|
|
||||||
request.body = JSON.dump({
|
request.body = JSON.dump({
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -218,14 +225,7 @@ request.body = JSON.dump({
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
})
|
})
|
||||||
response = https.request(request)
|
response = https.request(request)
|
||||||
puts response.read_body
|
puts response.read_body
|
||||||
@@ -236,6 +236,13 @@ OkHttpClient client = new OkHttpClient().newBuilder()
|
|||||||
.build();
|
.build();
|
||||||
MediaType mediaType = MediaType.parse("application/json");
|
MediaType mediaType = MediaType.parse("application/json");
|
||||||
RequestBody body = RequestBody.create(mediaType, '{
|
RequestBody body = RequestBody.create(mediaType, '{
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -243,14 +250,7 @@ RequestBody body = RequestBody.create(mediaType, '{
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
}');
|
}');
|
||||||
Request request = new Request.Builder()
|
Request request = new Request.Builder()
|
||||||
.url("https://api.netbird.io/api/integrations/scim-idp")
|
.url("https://api.netbird.io/api/integrations/scim-idp")
|
||||||
@@ -277,6 +277,13 @@ curl_setopt_array($curl, array(
|
|||||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||||
CURLOPT_POSTFIELDS => '{
|
CURLOPT_POSTFIELDS => '{
|
||||||
|
"group_prefixes": [
|
||||||
|
"Engineering",
|
||||||
|
"Sales"
|
||||||
|
],
|
||||||
|
"user_group_prefixes": [
|
||||||
|
"Users"
|
||||||
|
],
|
||||||
"prefix": {
|
"prefix": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The connection prefix used for the SCIM provider"
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
@@ -284,14 +291,7 @@ curl_setopt_array($curl, array(
|
|||||||
"provider": {
|
"provider": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the SCIM identity provider"
|
"description": "Name of the SCIM identity provider"
|
||||||
},
|
}
|
||||||
"group_prefixes": [
|
|
||||||
"Engineering",
|
|
||||||
"Sales"
|
|
||||||
],
|
|
||||||
"user_group_prefixes": [
|
|
||||||
"Users"
|
|
||||||
]
|
|
||||||
}',
|
}',
|
||||||
CURLOPT_HTTPHEADER => array(
|
CURLOPT_HTTPHEADER => array(
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
@@ -312,12 +312,7 @@ echo $response;
|
|||||||
<CodeGroup title="Response">
|
<CodeGroup title="Response">
|
||||||
```json {{ title: 'Example' }}
|
```json {{ title: 'Example' }}
|
||||||
{
|
{
|
||||||
"id": 123,
|
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"provider": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Name of the SCIM identity provider"
|
|
||||||
},
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"Engineering",
|
"Engineering",
|
||||||
"Sales"
|
"Sales"
|
||||||
@@ -325,21 +320,31 @@ echo $response;
|
|||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
],
|
],
|
||||||
|
"id": 123,
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the SCIM identity provider"
|
||||||
|
},
|
||||||
"auth_token": "nbs_abc***********************************",
|
"auth_token": "nbs_abc***********************************",
|
||||||
"last_synced_at": "2023-05-15T10:30:00Z"
|
"last_synced_at": "2023-05-15T10:30:00Z"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```json {{ title: 'Schema' }}
|
```json {{ title: 'Schema' }}
|
||||||
{
|
{
|
||||||
"id": "integer",
|
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
"provider": "string",
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
|
"id": "integer",
|
||||||
|
"prefix": "string",
|
||||||
|
"provider": "string",
|
||||||
"auth_token": "string",
|
"auth_token": "string",
|
||||||
"last_synced_at": "string"
|
"last_synced_at": "string"
|
||||||
}
|
}
|
||||||
@@ -513,12 +518,7 @@ echo $response;
|
|||||||
```json {{ title: 'Example' }}
|
```json {{ title: 'Example' }}
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": 123,
|
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"provider": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Name of the SCIM identity provider"
|
|
||||||
},
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"Engineering",
|
"Engineering",
|
||||||
"Sales"
|
"Sales"
|
||||||
@@ -526,6 +526,15 @@ echo $response;
|
|||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
],
|
],
|
||||||
|
"id": 123,
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the SCIM identity provider"
|
||||||
|
},
|
||||||
"auth_token": "nbs_abc***********************************",
|
"auth_token": "nbs_abc***********************************",
|
||||||
"last_synced_at": "2023-05-15T10:30:00Z"
|
"last_synced_at": "2023-05-15T10:30:00Z"
|
||||||
}
|
}
|
||||||
@@ -534,15 +543,16 @@ echo $response;
|
|||||||
```json {{ title: 'Schema' }}
|
```json {{ title: 'Schema' }}
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "integer",
|
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
"provider": "string",
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
|
"id": "integer",
|
||||||
|
"prefix": "string",
|
||||||
|
"provider": "string",
|
||||||
"auth_token": "string",
|
"auth_token": "string",
|
||||||
"last_synced_at": "string"
|
"last_synced_at": "string"
|
||||||
}
|
}
|
||||||
@@ -716,12 +726,7 @@ echo $response;
|
|||||||
<CodeGroup title="Response">
|
<CodeGroup title="Response">
|
||||||
```json {{ title: 'Example' }}
|
```json {{ title: 'Example' }}
|
||||||
{
|
{
|
||||||
"id": 123,
|
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"provider": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Name of the SCIM identity provider"
|
|
||||||
},
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"Engineering",
|
"Engineering",
|
||||||
"Sales"
|
"Sales"
|
||||||
@@ -729,21 +734,31 @@ echo $response;
|
|||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
],
|
],
|
||||||
|
"id": 123,
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the SCIM identity provider"
|
||||||
|
},
|
||||||
"auth_token": "nbs_abc***********************************",
|
"auth_token": "nbs_abc***********************************",
|
||||||
"last_synced_at": "2023-05-15T10:30:00Z"
|
"last_synced_at": "2023-05-15T10:30:00Z"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```json {{ title: 'Schema' }}
|
```json {{ title: 'Schema' }}
|
||||||
{
|
{
|
||||||
"id": "integer",
|
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
"provider": "string",
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
|
"id": "integer",
|
||||||
|
"prefix": "string",
|
||||||
|
"provider": "string",
|
||||||
"auth_token": "string",
|
"auth_token": "string",
|
||||||
"last_synced_at": "string"
|
"last_synced_at": "string"
|
||||||
}
|
}
|
||||||
@@ -767,7 +782,7 @@ echo $response;
|
|||||||
|
|
||||||
<Properties><Property name="enabled" type="boolean" required={false}>
|
<Properties><Property name="enabled" type="boolean" required={false}>
|
||||||
|
|
||||||
Indicates whether the integration is enabled
|
Whether the integration is enabled
|
||||||
|
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="group_prefixes" type="string[]" required={false}>
|
<Property name="group_prefixes" type="string[]" required={false}>
|
||||||
@@ -779,6 +794,11 @@ echo $response;
|
|||||||
|
|
||||||
List of start_with string patterns for groups which users to sync
|
List of start_with string patterns for groups which users to sync
|
||||||
|
|
||||||
|
</Property>
|
||||||
|
<Property name="prefix" type="string" required={false}>
|
||||||
|
|
||||||
|
The connection prefix used for the SCIM provider
|
||||||
|
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
@@ -800,7 +820,11 @@ curl -X PUT https://api.netbird.io/api/integrations/scim-idp/{id} \
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -814,7 +838,11 @@ let data = JSON.stringify({
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
});
|
});
|
||||||
let config = {
|
let config = {
|
||||||
method: 'put',
|
method: 'put',
|
||||||
@@ -850,7 +878,11 @@ payload = json.dumps({
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
})
|
})
|
||||||
headers = {
|
headers = {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
@@ -886,7 +918,11 @@ func main() {
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
}`)
|
}`)
|
||||||
client := &http.Client {
|
client := &http.Client {
|
||||||
}
|
}
|
||||||
@@ -940,7 +976,11 @@ request.body = JSON.dump({
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
})
|
})
|
||||||
response = https.request(request)
|
response = https.request(request)
|
||||||
puts response.read_body
|
puts response.read_body
|
||||||
@@ -958,7 +998,11 @@ RequestBody body = RequestBody.create(mediaType, '{
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
}');
|
}');
|
||||||
Request request = new Request.Builder()
|
Request request = new Request.Builder()
|
||||||
.url("https://api.netbird.io/api/integrations/scim-idp/{id}")
|
.url("https://api.netbird.io/api/integrations/scim-idp/{id}")
|
||||||
@@ -992,7 +1036,11 @@ curl_setopt_array($curl, array(
|
|||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
]
|
],
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
}
|
||||||
}',
|
}',
|
||||||
CURLOPT_HTTPHEADER => array(
|
CURLOPT_HTTPHEADER => array(
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json',
|
||||||
@@ -1013,12 +1061,7 @@ echo $response;
|
|||||||
<CodeGroup title="Response">
|
<CodeGroup title="Response">
|
||||||
```json {{ title: 'Example' }}
|
```json {{ title: 'Example' }}
|
||||||
{
|
{
|
||||||
"id": 123,
|
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"provider": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Name of the SCIM identity provider"
|
|
||||||
},
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"Engineering",
|
"Engineering",
|
||||||
"Sales"
|
"Sales"
|
||||||
@@ -1026,21 +1069,31 @@ echo $response;
|
|||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"Users"
|
"Users"
|
||||||
],
|
],
|
||||||
|
"id": 123,
|
||||||
|
"prefix": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The connection prefix used for the SCIM provider"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Name of the SCIM identity provider"
|
||||||
|
},
|
||||||
"auth_token": "nbs_abc***********************************",
|
"auth_token": "nbs_abc***********************************",
|
||||||
"last_synced_at": "2023-05-15T10:30:00Z"
|
"last_synced_at": "2023-05-15T10:30:00Z"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```json {{ title: 'Schema' }}
|
```json {{ title: 'Schema' }}
|
||||||
{
|
{
|
||||||
"id": "integer",
|
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
"provider": "string",
|
|
||||||
"group_prefixes": [
|
"group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
"user_group_prefixes": [
|
"user_group_prefixes": [
|
||||||
"string"
|
"string"
|
||||||
],
|
],
|
||||||
|
"id": "integer",
|
||||||
|
"prefix": "string",
|
||||||
|
"provider": "string",
|
||||||
"auth_token": "string",
|
"auth_token": "string",
|
||||||
"last_synced_at": "string"
|
"last_synced_at": "string"
|
||||||
}
|
}
|
||||||
1727
src/pages/ipa/resources/notifications.mdx
Normal file
1727
src/pages/ipa/resources/notifications.mdx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -373,6 +373,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"terminated": false,
|
||||||
"pass_host_header": false,
|
"pass_host_header": false,
|
||||||
"rewrite_redirects": false,
|
"rewrite_redirects": false,
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -461,6 +462,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
|
"terminated": "boolean",
|
||||||
"pass_host_header": "boolean",
|
"pass_host_header": "boolean",
|
||||||
"rewrite_redirects": "boolean",
|
"rewrite_redirects": "boolean",
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -1488,6 +1490,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"terminated": false,
|
||||||
"pass_host_header": false,
|
"pass_host_header": false,
|
||||||
"rewrite_redirects": false,
|
"rewrite_redirects": false,
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -1574,6 +1577,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
|
"terminated": "boolean",
|
||||||
"pass_host_header": "boolean",
|
"pass_host_header": "boolean",
|
||||||
"rewrite_redirects": "boolean",
|
"rewrite_redirects": "boolean",
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -1828,6 +1832,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"terminated": false,
|
||||||
"pass_host_header": false,
|
"pass_host_header": false,
|
||||||
"rewrite_redirects": false,
|
"rewrite_redirects": false,
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -1914,6 +1919,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
|
"terminated": "boolean",
|
||||||
"pass_host_header": "boolean",
|
"pass_host_header": "boolean",
|
||||||
"rewrite_redirects": "boolean",
|
"rewrite_redirects": "boolean",
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -2948,6 +2954,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"terminated": false,
|
||||||
"pass_host_header": false,
|
"pass_host_header": false,
|
||||||
"rewrite_redirects": false,
|
"rewrite_redirects": false,
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -3034,6 +3041,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
|
"terminated": "boolean",
|
||||||
"pass_host_header": "boolean",
|
"pass_host_header": "boolean",
|
||||||
"rewrite_redirects": "boolean",
|
"rewrite_redirects": "boolean",
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -3686,6 +3694,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
"terminated": false,
|
||||||
"pass_host_header": false,
|
"pass_host_header": false,
|
||||||
"rewrite_redirects": false,
|
"rewrite_redirects": false,
|
||||||
"auth": {
|
"auth": {
|
||||||
@@ -3772,6 +3781,7 @@ echo $response;
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"enabled": "boolean",
|
"enabled": "boolean",
|
||||||
|
"terminated": "boolean",
|
||||||
"pass_host_header": "boolean",
|
"pass_host_header": "boolean",
|
||||||
"rewrite_redirects": "boolean",
|
"rewrite_redirects": "boolean",
|
||||||
"auth": {
|
"auth": {
|
||||||
|
|||||||
Reference in New Issue
Block a user