All URIs are relative to https://api.eu-1.crowdstrike.com.
Method | HTTP request | Description |
---|---|---|
createSensorUpdatePolicies() | POST /policy/entities/sensor-update/v1 | Create Sensor Update Policies by specifying details about the policy to create |
createSensorUpdatePoliciesV2() | POST /policy/entities/sensor-update/v2 | Create Sensor Update Policies by specifying details about the policy to create with additional support for uninstall protection |
deleteSensorUpdatePolicies() | DELETE /policy/entities/sensor-update/v1 | Delete a set of Sensor Update Policies by specifying their IDs |
getSensorUpdatePolicies() | GET /policy/entities/sensor-update/v1 | Retrieve a set of Sensor Update Policies by specifying their IDs |
getSensorUpdatePoliciesV2() | GET /policy/entities/sensor-update/v2 | Retrieve a set of Sensor Update Policies with additional support for uninstall protection by specifying their IDs |
performSensorUpdatePoliciesAction() | POST /policy/entities/sensor-update-actions/v1 | Perform the specified action on the Sensor Update Policies specified in the request |
queryCombinedSensorUpdateBuilds() | GET /policy/combined/sensor-update-builds/v1 | Retrieve available builds for use with Sensor Update Policies |
queryCombinedSensorUpdatePolicies() | GET /policy/combined/sensor-update/v1 | Search for Sensor Update Policies in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policies which match the filter criteria |
queryCombinedSensorUpdatePoliciesV2() | GET /policy/combined/sensor-update/v2 | Search for Sensor Update Policies with additional support for uninstall protection in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policies which match the filter criteria |
queryCombinedSensorUpdatePolicyMembers() | GET /policy/combined/sensor-update-members/v1 | Search for members of a Sensor Update Policy in your environment by providing an FQL filter and paging details. Returns a set of host details which match the filter criteria |
querySensorUpdatePolicies() | GET /policy/queries/sensor-update/v1 | Search for Sensor Update Policies in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policy IDs which match the filter criteria |
querySensorUpdatePolicyMembers() | GET /policy/queries/sensor-update-members/v1 | Search for members of a Sensor Update Policy in your environment by providing an FQL filter and paging details. Returns a set of Agent IDs which match the filter criteria |
revealUninstallToken() | POST /policy/combined/reveal-uninstall-token/v1 | Reveals an uninstall token for a specific device. To retrieve the bulk maintenance token pass the value 'MAINTENANCE' as the value for 'device_id' |
setSensorUpdatePoliciesPrecedence() | POST /policy/entities/sensor-update-precedence/v1 | Sets the precedence of Sensor Update Policies based on the order of IDs specified in the request. The first ID specified will have the highest precedence and the last ID specified will have the lowest. You must specify all non-Default Policies for a platform when updating precedence |
updateSensorUpdatePolicies() | PATCH /policy/entities/sensor-update/v1 | Update Sensor Update Policies by specifying the ID of the policy and details to update |
updateSensorUpdatePoliciesV2() | PATCH /policy/entities/sensor-update/v2 | Update Sensor Update Policies by specifying the ID of the policy and details to update with additional support for uninstall protection |
createSensorUpdatePolicies($body): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
Create Sensor Update Policies by specifying details about the policy to create
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV1(); // \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV1
try {
$result = $apiInstance->createSensorUpdatePolicies($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->createSensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV1 |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createSensorUpdatePoliciesV2($body): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
Create Sensor Update Policies by specifying details about the policy to create with additional support for uninstall protection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV2(); // \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV2
try {
$result = $apiInstance->createSensorUpdatePoliciesV2($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->createSensorUpdatePoliciesV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsCreateSensorUpdatePoliciesV2 |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteSensorUpdatePolicies($ids): \OpenAPI\Client\Model\MsaQueryResponse
Delete a set of Sensor Update Policies by specifying their IDs
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ids = array('ids_example'); // string[] | The IDs of the Sensor Update Policies to delete
try {
$result = $apiInstance->deleteSensorUpdatePolicies($ids);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->deleteSensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
ids | string[] | The IDs of the Sensor Update Policies to delete |
\OpenAPI\Client\Model\MsaQueryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSensorUpdatePolicies($ids): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
Retrieve a set of Sensor Update Policies by specifying their IDs
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ids = array('ids_example'); // string[] | The IDs of the Sensor Update Policies to return
try {
$result = $apiInstance->getSensorUpdatePolicies($ids);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->getSensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
ids | string[] | The IDs of the Sensor Update Policies to return |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getSensorUpdatePoliciesV2($ids): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
Retrieve a set of Sensor Update Policies with additional support for uninstall protection by specifying their IDs
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ids = array('ids_example'); // string[] | The IDs of the Sensor Update Policies to return
try {
$result = $apiInstance->getSensorUpdatePoliciesV2($ids);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->getSensorUpdatePoliciesV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
ids | string[] | The IDs of the Sensor Update Policies to return |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
performSensorUpdatePoliciesAction($action_name, $body): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
Perform the specified action on the Sensor Update Policies specified in the request
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$action_name = 'action_name_example'; // string | The action to perform
$body = new \OpenAPI\Client\Model\MsaEntityActionRequestV2(); // \OpenAPI\Client\Model\MsaEntityActionRequestV2
try {
$result = $apiInstance->performSensorUpdatePoliciesAction($action_name, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->performSensorUpdatePoliciesAction: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
action_name | string | The action to perform | |
body | \OpenAPI\Client\Model\MsaEntityActionRequestV2 |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
queryCombinedSensorUpdateBuilds($platform): \OpenAPI\Client\Model\ResponsesSensorUpdateBuildsV1
Retrieve available builds for use with Sensor Update Policies
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$platform = 'platform_example'; // string | The platform to return builds for
try {
$result = $apiInstance->queryCombinedSensorUpdateBuilds($platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->queryCombinedSensorUpdateBuilds: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
platform | string | The platform to return builds for | [optional] |
\OpenAPI\Client\Model\ResponsesSensorUpdateBuildsV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
queryCombinedSensorUpdatePolicies($filter, $offset, $limit, $sort): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
Search for Sensor Update Policies in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policies which match the filter criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$filter = 'filter_example'; // string | The filter expression that should be used to limit the results
$offset = 56; // int | The offset to start retrieving records from
$limit = 56; // int | The maximum records to return. [1-5000]
$sort = 'sort_example'; // string | The property to sort by
try {
$result = $apiInstance->queryCombinedSensorUpdatePolicies($filter, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->queryCombinedSensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
filter | string | The filter expression that should be used to limit the results | [optional] |
offset | int | The offset to start retrieving records from | [optional] |
limit | int | The maximum records to return. [1-5000] | [optional] |
sort | string | The property to sort by | [optional] |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
queryCombinedSensorUpdatePoliciesV2($filter, $offset, $limit, $sort): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
Search for Sensor Update Policies with additional support for uninstall protection in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policies which match the filter criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$filter = 'filter_example'; // string | The filter expression that should be used to limit the results
$offset = 56; // int | The offset to start retrieving records from
$limit = 56; // int | The maximum records to return. [1-5000]
$sort = 'sort_example'; // string | The property to sort by
try {
$result = $apiInstance->queryCombinedSensorUpdatePoliciesV2($filter, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->queryCombinedSensorUpdatePoliciesV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
filter | string | The filter expression that should be used to limit the results | [optional] |
offset | int | The offset to start retrieving records from | [optional] |
limit | int | The maximum records to return. [1-5000] | [optional] |
sort | string | The property to sort by | [optional] |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
queryCombinedSensorUpdatePolicyMembers($id, $filter, $offset, $limit, $sort): \OpenAPI\Client\Model\ResponsesPolicyMembersRespV1
Search for members of a Sensor Update Policy in your environment by providing an FQL filter and paging details. Returns a set of host details which match the filter criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | The ID of the Sensor Update Policy to search for members of
$filter = 'filter_example'; // string | The filter expression that should be used to limit the results
$offset = 56; // int | The offset to start retrieving records from
$limit = 56; // int | The maximum records to return. [1-5000]
$sort = 'sort_example'; // string | The property to sort by
try {
$result = $apiInstance->queryCombinedSensorUpdatePolicyMembers($id, $filter, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->queryCombinedSensorUpdatePolicyMembers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The ID of the Sensor Update Policy to search for members of | [optional] |
filter | string | The filter expression that should be used to limit the results | [optional] |
offset | int | The offset to start retrieving records from | [optional] |
limit | int | The maximum records to return. [1-5000] | [optional] |
sort | string | The property to sort by | [optional] |
\OpenAPI\Client\Model\ResponsesPolicyMembersRespV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
querySensorUpdatePolicies($filter, $offset, $limit, $sort): \OpenAPI\Client\Model\MsaQueryResponse
Search for Sensor Update Policies in your environment by providing an FQL filter and paging details. Returns a set of Sensor Update Policy IDs which match the filter criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$filter = 'filter_example'; // string | The filter expression that should be used to limit the results
$offset = 56; // int | The offset to start retrieving records from
$limit = 56; // int | The maximum records to return. [1-5000]
$sort = 'sort_example'; // string | The property to sort by
try {
$result = $apiInstance->querySensorUpdatePolicies($filter, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->querySensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
filter | string | The filter expression that should be used to limit the results | [optional] |
offset | int | The offset to start retrieving records from | [optional] |
limit | int | The maximum records to return. [1-5000] | [optional] |
sort | string | The property to sort by | [optional] |
\OpenAPI\Client\Model\MsaQueryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
querySensorUpdatePolicyMembers($id, $filter, $offset, $limit, $sort): \OpenAPI\Client\Model\MsaQueryResponse
Search for members of a Sensor Update Policy in your environment by providing an FQL filter and paging details. Returns a set of Agent IDs which match the filter criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = 'id_example'; // string | The ID of the Sensor Update Policy to search for members of
$filter = 'filter_example'; // string | The filter expression that should be used to limit the results
$offset = 56; // int | The offset to start retrieving records from
$limit = 56; // int | The maximum records to return. [1-5000]
$sort = 'sort_example'; // string | The property to sort by
try {
$result = $apiInstance->querySensorUpdatePolicyMembers($id, $filter, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->querySensorUpdatePolicyMembers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The ID of the Sensor Update Policy to search for members of | [optional] |
filter | string | The filter expression that should be used to limit the results | [optional] |
offset | int | The offset to start retrieving records from | [optional] |
limit | int | The maximum records to return. [1-5000] | [optional] |
sort | string | The property to sort by | [optional] |
\OpenAPI\Client\Model\MsaQueryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
revealUninstallToken($body): \OpenAPI\Client\Model\ResponsesRevealUninstallTokenRespV1
Reveals an uninstall token for a specific device. To retrieve the bulk maintenance token pass the value 'MAINTENANCE' as the value for 'device_id'
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsRevealUninstallTokenV1(); // \OpenAPI\Client\Model\RequestsRevealUninstallTokenV1
try {
$result = $apiInstance->revealUninstallToken($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->revealUninstallToken: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsRevealUninstallTokenV1 |
\OpenAPI\Client\Model\ResponsesRevealUninstallTokenRespV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setSensorUpdatePoliciesPrecedence($body): \OpenAPI\Client\Model\MsaQueryResponse
Sets the precedence of Sensor Update Policies based on the order of IDs specified in the request. The first ID specified will have the highest precedence and the last ID specified will have the lowest. You must specify all non-Default Policies for a platform when updating precedence
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsSetPolicyPrecedenceReqV1(); // \OpenAPI\Client\Model\RequestsSetPolicyPrecedenceReqV1
try {
$result = $apiInstance->setSensorUpdatePoliciesPrecedence($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->setSensorUpdatePoliciesPrecedence: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsSetPolicyPrecedenceReqV1 |
\OpenAPI\Client\Model\MsaQueryResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateSensorUpdatePolicies($body): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
Update Sensor Update Policies by specifying the ID of the policy and details to update
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV1(); // \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV1
try {
$result = $apiInstance->updateSensorUpdatePolicies($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->updateSensorUpdatePolicies: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV1 |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV1
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateSensorUpdatePoliciesV2($body): \OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
Update Sensor Update Policies by specifying the ID of the policy and details to update with additional support for uninstall protection
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oauth2
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\SensorUpdatePoliciesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV2(); // \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV2
try {
$result = $apiInstance->updateSensorUpdatePoliciesV2($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SensorUpdatePoliciesApi->updateSensorUpdatePoliciesV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
body | \OpenAPI\Client\Model\RequestsUpdateSensorUpdatePoliciesV2 |
\OpenAPI\Client\Model\ResponsesSensorUpdatePoliciesV2
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]