All URIs are relative to https://subdomain.okta.com
Method | HTTP request | Description |
---|---|---|
getCurrentConfiguration | GET /api/v1/threats/configuration | Retrieve the ThreatInsight Configuration |
updateConfiguration | POST /api/v1/threats/configuration | Update the ThreatInsight Configuration |
ThreatInsightConfiguration getCurrentConfiguration()
Gets current ThreatInsight configuration
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.ThreatInsightApi(configuration);
let body:any = {};
apiInstance.getCurrentConfiguration(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
ThreatInsightConfiguration
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreatInsightConfiguration updateConfiguration(threatInsightConfiguration)
Updates ThreatInsight configuration
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.ThreatInsightApi(configuration);
let body:okta.ThreatInsightApiUpdateConfigurationRequest = {
// ThreatInsightConfiguration
threatInsightConfiguration: {
action: "action_example",
excludeZones: [
"excludeZones_example",
],
},
};
apiInstance.updateConfiguration(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
threatInsightConfiguration | ThreatInsightConfiguration |
ThreatInsightConfiguration
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 400 | Bad Request | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]