cloudflare
Version:
The official TypeScript library for the Cloudflare API
1,019 lines • 31.2 kB
TypeScript
import * as Core from 'cloudflare/core';
import { APIResource } from 'cloudflare/resource';
import * as PostureAPI from 'cloudflare/resources/zero-trust/devices/posture/posture';
import * as IntegrationsAPI from 'cloudflare/resources/zero-trust/devices/posture/integrations';
import { SinglePage } from 'cloudflare/pagination';
export declare class Posture extends APIResource {
integrations: IntegrationsAPI.Integrations;
/**
* Creates a new device posture rule.
*/
create(params: PostureCreateParams, options?: Core.RequestOptions): Core.APIPromise<DevicePostureRules | null>;
/**
* Updates a device posture rule.
*/
update(ruleId: string, params: PostureUpdateParams, options?: Core.RequestOptions): Core.APIPromise<DevicePostureRules | null>;
/**
* Fetches device posture rules for a Zero Trust account.
*/
list(params: PostureListParams, options?: Core.RequestOptions): Core.PagePromise<DevicePostureRulesSinglePage, DevicePostureRules>;
/**
* Deletes a device posture rule.
*/
delete(ruleId: string, params: PostureDeleteParams, options?: Core.RequestOptions): Core.APIPromise<PostureDeleteResponse | null>;
/**
* Fetches a single device posture rule.
*/
get(ruleId: string, params: PostureGetParams, options?: Core.RequestOptions): Core.APIPromise<DevicePostureRules | null>;
}
export declare class DevicePostureRulesSinglePage extends SinglePage<DevicePostureRules> {
}
export interface DevicePostureRules {
/**
* API UUID.
*/
id?: string;
/**
* The description of the device posture rule.
*/
description?: string;
/**
* Sets the expiration time for a posture check result. If empty, the result
* remains valid until it is overwritten by new data from the WARP client.
*/
expiration?: string;
/**
* The value to be checked against.
*/
input?: DevicePostureRules.TeamsDevicesFileInputRequest | DevicePostureRules.TeamsDevicesUniqueClientIDInputRequest | DevicePostureRules.TeamsDevicesDomainJoinedInputRequest | DevicePostureRules.TeamsDevicesOSVersionInputRequest | DevicePostureRules.TeamsDevicesFirewallInputRequest | DevicePostureRules.TeamsDevicesSentineloneInputRequest | DevicePostureRules.TeamsDevicesCarbonblackInputRequest | DevicePostureRules.TeamsDevicesDiskEncryptionInputRequest | DevicePostureRules.TeamsDevicesApplicationInputRequest | DevicePostureRules.TeamsDevicesClientCertificateInputRequest | DevicePostureRules.TeamsDevicesWorkspaceOneInputRequest | DevicePostureRules.TeamsDevicesCrowdstrikeInputRequest | DevicePostureRules.TeamsDevicesIntuneInputRequest | DevicePostureRules.TeamsDevicesKolideInputRequest | DevicePostureRules.TeamsDevicesTaniumInputRequest | DevicePostureRules.TeamsDevicesSentineloneS2sInputRequest;
/**
* The conditions that the client must match to run the rule.
*/
match?: Array<DevicePostureRules.Match>;
/**
* The name of the device posture rule.
*/
name?: string;
/**
* Polling frequency for the WARP client posture check. Default: `5m` (poll every
* five minutes). Minimum: `1m`.
*/
schedule?: string;
/**
* The type of device posture rule.
*/
type?: 'file' | 'application' | 'tanium' | 'gateway' | 'warp' | 'disk_encryption' | 'sentinelone' | 'carbonblack' | 'firewall' | 'os_version' | 'domain_joined' | 'client_certificate' | 'unique_client_id' | 'kolide' | 'tanium_s2s' | 'crowdstrike_s2s' | 'intune' | 'workspace_one' | 'sentinelone_s2s';
}
export declare namespace DevicePostureRules {
interface TeamsDevicesFileInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* Whether or not file exists
*/
exists?: boolean;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesUniqueClientIDInputRequest {
/**
* List ID.
*/
id: string;
/**
* Operating System
*/
operating_system: 'android' | 'ios' | 'chromeos';
}
interface TeamsDevicesDomainJoinedInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Domain
*/
domain?: string;
}
interface TeamsDevicesOSVersionInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Operator
*/
operator: '<' | '<=' | '>' | '>=' | '==';
/**
* Version of OS
*/
version: string;
/**
* Operating System Distribution Name (linux only)
*/
os_distro_name?: string;
/**
* Version of OS Distribution (linux only)
*/
os_distro_revision?: string;
/**
* Additional version data. For Mac or iOS, the Product Verison Extra. For Linux,
* the kernel release version. (Mac, iOS, and Linux only)
*/
os_version_extra?: string;
}
interface TeamsDevicesFirewallInputRequest {
/**
* Enabled
*/
enabled: boolean;
/**
* Operating System
*/
operating_system: 'windows' | 'mac';
}
interface TeamsDevicesSentineloneInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesCarbonblackInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesDiskEncryptionInputRequest {
/**
* List of volume names to be checked for encryption.
*/
checkDisks?: Array<string>;
/**
* Whether to check all disks for encryption.
*/
requireAll?: boolean;
}
interface TeamsDevicesApplicationInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* Path for the application.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesClientCertificateInputRequest {
/**
* UUID of Cloudflare managed certificate.
*/
certificate_id: string;
/**
* Common Name that is protected by the certificate
*/
cn: string;
}
interface TeamsDevicesWorkspaceOneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesCrowdstrikeInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on last seen, please refer to the Crowdstrike documentation.
*/
last_seen?: string;
/**
* Operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* Os Version
*/
os?: string;
/**
* overall
*/
overall?: string;
/**
* SensorConfig
*/
sensor_config?: string;
/**
* For more details on state, please refer to the Crowdstrike documentation.
*/
state?: 'online' | 'offline' | 'unknown';
/**
* Version
*/
version?: string;
/**
* Version Operator
*/
versionOperator?: '<' | '<=' | '>' | '>=' | '==';
}
interface TeamsDevicesIntuneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown' | 'notapplicable' | 'ingraceperiod' | 'error';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesKolideInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* Count Operator
*/
countOperator: '<' | '<=' | '>' | '>=' | '==';
/**
* The Number of Issues.
*/
issue_count: string;
}
interface TeamsDevicesTaniumInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on eid last seen, refer to the Tanium documentation.
*/
eid_last_seen?: string;
/**
* Operator to evaluate risk_level or eid_last_seen.
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on risk level, refer to the Tanium documentation.
*/
risk_level?: 'low' | 'medium' | 'high' | 'critical';
/**
* Score Operator
*/
scoreOperator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on total score, refer to the Tanium documentation.
*/
total_score?: number;
}
interface TeamsDevicesSentineloneS2sInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* The Number of active threats.
*/
active_threats?: number;
/**
* Whether device is infected.
*/
infected?: boolean;
/**
* Whether device is active.
*/
is_active?: boolean;
/**
* Network status of device.
*/
network_status?: 'connected' | 'disconnected' | 'disconnecting' | 'connecting';
/**
* operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
}
interface Match {
platform?: 'windows' | 'mac' | 'linux' | 'android' | 'ios';
}
}
export interface PostureDeleteResponse {
/**
* API UUID.
*/
id?: string;
}
export interface PostureCreateParams {
/**
* Path param:
*/
account_id: string;
/**
* Body param: The name of the device posture rule.
*/
name: string;
/**
* Body param: The type of device posture rule.
*/
type: 'file' | 'application' | 'tanium' | 'gateway' | 'warp' | 'disk_encryption' | 'sentinelone' | 'carbonblack' | 'firewall' | 'os_version' | 'domain_joined' | 'client_certificate' | 'unique_client_id' | 'kolide' | 'tanium_s2s' | 'crowdstrike_s2s' | 'intune' | 'workspace_one' | 'sentinelone_s2s';
/**
* Body param: The description of the device posture rule.
*/
description?: string;
/**
* Body param: Sets the expiration time for a posture check result. If empty, the
* result remains valid until it is overwritten by new data from the WARP client.
*/
expiration?: string;
/**
* Body param: The value to be checked against.
*/
input?: PostureCreateParams.TeamsDevicesFileInputRequest | PostureCreateParams.TeamsDevicesUniqueClientIDInputRequest | PostureCreateParams.TeamsDevicesDomainJoinedInputRequest | PostureCreateParams.TeamsDevicesOSVersionInputRequest | PostureCreateParams.TeamsDevicesFirewallInputRequest | PostureCreateParams.TeamsDevicesSentineloneInputRequest | PostureCreateParams.TeamsDevicesCarbonblackInputRequest | PostureCreateParams.TeamsDevicesDiskEncryptionInputRequest | PostureCreateParams.TeamsDevicesApplicationInputRequest | PostureCreateParams.TeamsDevicesClientCertificateInputRequest | PostureCreateParams.TeamsDevicesWorkspaceOneInputRequest | PostureCreateParams.TeamsDevicesCrowdstrikeInputRequest | PostureCreateParams.TeamsDevicesIntuneInputRequest | PostureCreateParams.TeamsDevicesKolideInputRequest | PostureCreateParams.TeamsDevicesTaniumInputRequest | PostureCreateParams.TeamsDevicesSentineloneS2sInputRequest;
/**
* Body param: The conditions that the client must match to run the rule.
*/
match?: Array<PostureCreateParams.Match>;
/**
* Body param: Polling frequency for the WARP client posture check. Default: `5m`
* (poll every five minutes). Minimum: `1m`.
*/
schedule?: string;
}
export declare namespace PostureCreateParams {
interface TeamsDevicesFileInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* Whether or not file exists
*/
exists?: boolean;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesUniqueClientIDInputRequest {
/**
* List ID.
*/
id: string;
/**
* Operating System
*/
operating_system: 'android' | 'ios' | 'chromeos';
}
interface TeamsDevicesDomainJoinedInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Domain
*/
domain?: string;
}
interface TeamsDevicesOSVersionInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Operator
*/
operator: '<' | '<=' | '>' | '>=' | '==';
/**
* Version of OS
*/
version: string;
/**
* Operating System Distribution Name (linux only)
*/
os_distro_name?: string;
/**
* Version of OS Distribution (linux only)
*/
os_distro_revision?: string;
/**
* Additional version data. For Mac or iOS, the Product Verison Extra. For Linux,
* the kernel release version. (Mac, iOS, and Linux only)
*/
os_version_extra?: string;
}
interface TeamsDevicesFirewallInputRequest {
/**
* Enabled
*/
enabled: boolean;
/**
* Operating System
*/
operating_system: 'windows' | 'mac';
}
interface TeamsDevicesSentineloneInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesCarbonblackInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesDiskEncryptionInputRequest {
/**
* List of volume names to be checked for encryption.
*/
checkDisks?: Array<string>;
/**
* Whether to check all disks for encryption.
*/
requireAll?: boolean;
}
interface TeamsDevicesApplicationInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* Path for the application.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesClientCertificateInputRequest {
/**
* UUID of Cloudflare managed certificate.
*/
certificate_id: string;
/**
* Common Name that is protected by the certificate
*/
cn: string;
}
interface TeamsDevicesWorkspaceOneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesCrowdstrikeInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on last seen, please refer to the Crowdstrike documentation.
*/
last_seen?: string;
/**
* Operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* Os Version
*/
os?: string;
/**
* overall
*/
overall?: string;
/**
* SensorConfig
*/
sensor_config?: string;
/**
* For more details on state, please refer to the Crowdstrike documentation.
*/
state?: 'online' | 'offline' | 'unknown';
/**
* Version
*/
version?: string;
/**
* Version Operator
*/
versionOperator?: '<' | '<=' | '>' | '>=' | '==';
}
interface TeamsDevicesIntuneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown' | 'notapplicable' | 'ingraceperiod' | 'error';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesKolideInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* Count Operator
*/
countOperator: '<' | '<=' | '>' | '>=' | '==';
/**
* The Number of Issues.
*/
issue_count: string;
}
interface TeamsDevicesTaniumInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on eid last seen, refer to the Tanium documentation.
*/
eid_last_seen?: string;
/**
* Operator to evaluate risk_level or eid_last_seen.
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on risk level, refer to the Tanium documentation.
*/
risk_level?: 'low' | 'medium' | 'high' | 'critical';
/**
* Score Operator
*/
scoreOperator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on total score, refer to the Tanium documentation.
*/
total_score?: number;
}
interface TeamsDevicesSentineloneS2sInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* The Number of active threats.
*/
active_threats?: number;
/**
* Whether device is infected.
*/
infected?: boolean;
/**
* Whether device is active.
*/
is_active?: boolean;
/**
* Network status of device.
*/
network_status?: 'connected' | 'disconnected' | 'disconnecting' | 'connecting';
/**
* operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
}
interface Match {
platform?: 'windows' | 'mac' | 'linux' | 'android' | 'ios';
}
}
export interface PostureUpdateParams {
/**
* Path param:
*/
account_id: string;
/**
* Body param: The name of the device posture rule.
*/
name: string;
/**
* Body param: The type of device posture rule.
*/
type: 'file' | 'application' | 'tanium' | 'gateway' | 'warp' | 'disk_encryption' | 'sentinelone' | 'carbonblack' | 'firewall' | 'os_version' | 'domain_joined' | 'client_certificate' | 'unique_client_id' | 'kolide' | 'tanium_s2s' | 'crowdstrike_s2s' | 'intune' | 'workspace_one' | 'sentinelone_s2s';
/**
* Body param: The description of the device posture rule.
*/
description?: string;
/**
* Body param: Sets the expiration time for a posture check result. If empty, the
* result remains valid until it is overwritten by new data from the WARP client.
*/
expiration?: string;
/**
* Body param: The value to be checked against.
*/
input?: PostureUpdateParams.TeamsDevicesFileInputRequest | PostureUpdateParams.TeamsDevicesUniqueClientIDInputRequest | PostureUpdateParams.TeamsDevicesDomainJoinedInputRequest | PostureUpdateParams.TeamsDevicesOSVersionInputRequest | PostureUpdateParams.TeamsDevicesFirewallInputRequest | PostureUpdateParams.TeamsDevicesSentineloneInputRequest | PostureUpdateParams.TeamsDevicesCarbonblackInputRequest | PostureUpdateParams.TeamsDevicesDiskEncryptionInputRequest | PostureUpdateParams.TeamsDevicesApplicationInputRequest | PostureUpdateParams.TeamsDevicesClientCertificateInputRequest | PostureUpdateParams.TeamsDevicesWorkspaceOneInputRequest | PostureUpdateParams.TeamsDevicesCrowdstrikeInputRequest | PostureUpdateParams.TeamsDevicesIntuneInputRequest | PostureUpdateParams.TeamsDevicesKolideInputRequest | PostureUpdateParams.TeamsDevicesTaniumInputRequest | PostureUpdateParams.TeamsDevicesSentineloneS2sInputRequest;
/**
* Body param: The conditions that the client must match to run the rule.
*/
match?: Array<PostureUpdateParams.Match>;
/**
* Body param: Polling frequency for the WARP client posture check. Default: `5m`
* (poll every five minutes). Minimum: `1m`.
*/
schedule?: string;
}
export declare namespace PostureUpdateParams {
interface TeamsDevicesFileInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* Whether or not file exists
*/
exists?: boolean;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesUniqueClientIDInputRequest {
/**
* List ID.
*/
id: string;
/**
* Operating System
*/
operating_system: 'android' | 'ios' | 'chromeos';
}
interface TeamsDevicesDomainJoinedInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Domain
*/
domain?: string;
}
interface TeamsDevicesOSVersionInputRequest {
/**
* Operating System
*/
operating_system: 'windows';
/**
* Operator
*/
operator: '<' | '<=' | '>' | '>=' | '==';
/**
* Version of OS
*/
version: string;
/**
* Operating System Distribution Name (linux only)
*/
os_distro_name?: string;
/**
* Version of OS Distribution (linux only)
*/
os_distro_revision?: string;
/**
* Additional version data. For Mac or iOS, the Product Verison Extra. For Linux,
* the kernel release version. (Mac, iOS, and Linux only)
*/
os_version_extra?: string;
}
interface TeamsDevicesFirewallInputRequest {
/**
* Enabled
*/
enabled: boolean;
/**
* Operating System
*/
operating_system: 'windows' | 'mac';
}
interface TeamsDevicesSentineloneInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesCarbonblackInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* File path.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesDiskEncryptionInputRequest {
/**
* List of volume names to be checked for encryption.
*/
checkDisks?: Array<string>;
/**
* Whether to check all disks for encryption.
*/
requireAll?: boolean;
}
interface TeamsDevicesApplicationInputRequest {
/**
* Operating system
*/
operating_system: 'windows' | 'linux' | 'mac';
/**
* Path for the application.
*/
path: string;
/**
* SHA-256.
*/
sha256?: string;
/**
* Signing certificate thumbprint.
*/
thumbprint?: string;
}
interface TeamsDevicesClientCertificateInputRequest {
/**
* UUID of Cloudflare managed certificate.
*/
certificate_id: string;
/**
* Common Name that is protected by the certificate
*/
cn: string;
}
interface TeamsDevicesWorkspaceOneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesCrowdstrikeInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on last seen, please refer to the Crowdstrike documentation.
*/
last_seen?: string;
/**
* Operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* Os Version
*/
os?: string;
/**
* overall
*/
overall?: string;
/**
* SensorConfig
*/
sensor_config?: string;
/**
* For more details on state, please refer to the Crowdstrike documentation.
*/
state?: 'online' | 'offline' | 'unknown';
/**
* Version
*/
version?: string;
/**
* Version Operator
*/
versionOperator?: '<' | '<=' | '>' | '>=' | '==';
}
interface TeamsDevicesIntuneInputRequest {
/**
* Compliance Status
*/
compliance_status: 'compliant' | 'noncompliant' | 'unknown' | 'notapplicable' | 'ingraceperiod' | 'error';
/**
* Posture Integration ID.
*/
connection_id: string;
}
interface TeamsDevicesKolideInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* Count Operator
*/
countOperator: '<' | '<=' | '>' | '>=' | '==';
/**
* The Number of Issues.
*/
issue_count: string;
}
interface TeamsDevicesTaniumInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* For more details on eid last seen, refer to the Tanium documentation.
*/
eid_last_seen?: string;
/**
* Operator to evaluate risk_level or eid_last_seen.
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on risk level, refer to the Tanium documentation.
*/
risk_level?: 'low' | 'medium' | 'high' | 'critical';
/**
* Score Operator
*/
scoreOperator?: '<' | '<=' | '>' | '>=' | '==';
/**
* For more details on total score, refer to the Tanium documentation.
*/
total_score?: number;
}
interface TeamsDevicesSentineloneS2sInputRequest {
/**
* Posture Integration ID.
*/
connection_id: string;
/**
* The Number of active threats.
*/
active_threats?: number;
/**
* Whether device is infected.
*/
infected?: boolean;
/**
* Whether device is active.
*/
is_active?: boolean;
/**
* Network status of device.
*/
network_status?: 'connected' | 'disconnected' | 'disconnecting' | 'connecting';
/**
* operator
*/
operator?: '<' | '<=' | '>' | '>=' | '==';
}
interface Match {
platform?: 'windows' | 'mac' | 'linux' | 'android' | 'ios';
}
}
export interface PostureListParams {
account_id: string;
}
export interface PostureDeleteParams {
account_id: string;
}
export interface PostureGetParams {
account_id: string;
}
export declare namespace Posture {
export import DevicePostureRules = PostureAPI.DevicePostureRules;
export import PostureDeleteResponse = PostureAPI.PostureDeleteResponse;
export import DevicePostureRulesSinglePage = PostureAPI.DevicePostureRulesSinglePage;
export import PostureCreateParams = PostureAPI.PostureCreateParams;
export import PostureUpdateParams = PostureAPI.PostureUpdateParams;
export import PostureListParams = PostureAPI.PostureListParams;
export import PostureDeleteParams = PostureAPI.PostureDeleteParams;
export import PostureGetParams = PostureAPI.PostureGetParams;
export import Integrations = IntegrationsAPI.Integrations;
export import DevicePostureIntegrations = IntegrationsAPI.DevicePostureIntegrations;
export import IntegrationDeleteResponse = IntegrationsAPI.IntegrationDeleteResponse;
export import DevicePostureIntegrationsSinglePage = IntegrationsAPI.DevicePostureIntegrationsSinglePage;
export import IntegrationCreateParams = IntegrationsAPI.IntegrationCreateParams;
export import IntegrationListParams = IntegrationsAPI.IntegrationListParams;
export import IntegrationDeleteParams = IntegrationsAPI.IntegrationDeleteParams;
export import IntegrationEditParams = IntegrationsAPI.IntegrationEditParams;
export import IntegrationGetParams = IntegrationsAPI.IntegrationGetParams;
}
//# sourceMappingURL=posture.d.ts.map