[management] Make EDR sync interval configurable (#8273)

This commit is contained in:
Bethuel Mmbaga
2026-10-21 18:38:08 +03:00
committed by GitHub
parent 11799f6b94
commit 4ca20f0c7a
2 changed files with 75 additions and 0 deletions
+45
View File
@@ -3961,6 +3961,11 @@ components:
type: integer
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
minimum: 24
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
minimum: 1
maximum: 1440
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -3979,6 +3984,7 @@ components:
- tenant_id
- groups
- last_synced_interval
- sync_interval
- enabled
properties:
id:
@@ -4025,6 +4031,9 @@ components:
last_synced_interval:
type: integer
description: The devices last sync requirement interval in hours.
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes.
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4047,6 +4056,11 @@ components:
type: integer
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
minimum: 24
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
minimum: 1
maximum: 1440
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4073,6 +4087,7 @@ components:
- groups
- last_synced_interval
- match_attributes
- sync_interval
- enabled
properties:
id:
@@ -4115,6 +4130,9 @@ components:
description: The devices last sync requirement interval in hours.
match_attributes:
$ref: '#/components/schemas/SentinelOneMatchAttributes'
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes.
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4174,6 +4192,11 @@ components:
minimum: 0
maximum: 100
example: 75
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
minimum: 1
maximum: 1440
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4197,6 +4220,7 @@ components:
- cloud_id
- groups
- zta_score_threshold
- sync_interval
- enabled
properties:
id:
@@ -4237,6 +4261,9 @@ components:
zta_score_threshold:
type: integer
description: The minimum Zero Trust Assessment score required for agent approval (0-100)
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes.
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4260,6 +4287,11 @@ components:
type: integer
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
minimum: 24
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
minimum: 1
maximum: 1440
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4285,6 +4317,7 @@ components:
- groups
- last_synced_interval
- match_attributes
- sync_interval
- enabled
properties:
id:
@@ -4322,6 +4355,9 @@ components:
last_synced_interval:
type: integer
description: The devices last sync requirement interval in hours.
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes.
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4370,6 +4406,11 @@ components:
type: integer
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
minimum: 24
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
minimum: 1
maximum: 1440
enabled:
type: boolean
description: Indicates whether the integration is enabled
@@ -4396,6 +4437,7 @@ components:
- groups
- last_synced_interval
- match_attributes
- sync_interval
- enabled
properties:
id:
@@ -4436,6 +4478,9 @@ components:
last_synced_interval:
type: integer
description: The devices last sync requirement interval in hours.
sync_interval:
type: integer
description: How often devices are synced from the integration, in minutes.
enabled:
type: boolean
description: Indicates whether the integration is enabled
+30
View File
@@ -2918,6 +2918,9 @@ type EDRFalconRequest struct {
// Secret CrowdStrike API client secret
Secret string `json:"secret"`
// SyncInterval How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
SyncInterval *int `json:"sync_interval,omitempty"`
// ZtaScoreThreshold The minimum Zero Trust Assessment score required for agent approval (0-100)
ZtaScoreThreshold int `json:"zta_score_threshold"`
}
@@ -2948,6 +2951,9 @@ type EDRFalconResponse struct {
// LastSyncedAt Timestamp of when the integration was last synced.
LastSyncedAt time.Time `json:"last_synced_at"`
// SyncInterval How often devices are synced from the integration, in minutes.
SyncInterval int `json:"sync_interval"`
// UpdatedAt Timestamp of when the integration was last updated.
UpdatedAt time.Time `json:"updated_at"`
@@ -2974,6 +2980,9 @@ type EDRFleetDMRequest struct {
// MatchAttributes Attribute conditions to match when approving FleetDM hosts. Most attributes work with FleetDM's free/open source version. Premium-only attributes are marked accordingly
MatchAttributes FleetDMMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
SyncInterval *int `json:"sync_interval,omitempty"`
}
// EDRFleetDMResponse Represents a FleetDM EDR integration configuration
@@ -3008,6 +3017,9 @@ type EDRFleetDMResponse struct {
// MatchAttributes Attribute conditions to match when approving FleetDM hosts. Most attributes work with FleetDM's free/open source version. Premium-only attributes are marked accordingly
MatchAttributes FleetDMMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes.
SyncInterval int `json:"sync_interval"`
// UpdatedAt Timestamp of when the integration was last updated.
UpdatedAt time.Time `json:"updated_at"`
}
@@ -3031,6 +3043,9 @@ type EDRHuntressRequest struct {
// MatchAttributes Attribute conditions to match when approving agents
MatchAttributes HuntressMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
SyncInterval *int `json:"sync_interval,omitempty"`
}
// EDRHuntressResponse Represents a Huntress EDR integration configuration
@@ -3062,6 +3077,9 @@ type EDRHuntressResponse struct {
// MatchAttributes Attribute conditions to match when approving agents
MatchAttributes HuntressMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes.
SyncInterval int `json:"sync_interval"`
// UpdatedAt Timestamp of when the integration was last updated.
UpdatedAt time.Time `json:"updated_at"`
}
@@ -3083,6 +3101,9 @@ type EDRIntuneRequest struct {
// Secret The Azure application client secret
Secret string `json:"secret"`
// SyncInterval How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
SyncInterval *int `json:"sync_interval,omitempty"`
// TenantId The Azure tenant id
TenantId string `json:"tenant_id"`
}
@@ -3116,6 +3137,9 @@ type EDRIntuneResponse struct {
// LastSyncedInterval The devices last sync requirement interval in hours.
LastSyncedInterval int `json:"last_synced_interval"`
// SyncInterval How often devices are synced from the integration, in minutes.
SyncInterval int `json:"sync_interval"`
// TenantId The Azure tenant id
TenantId string `json:"tenant_id"`
@@ -3142,6 +3166,9 @@ type EDRSentinelOneRequest struct {
// MatchAttributes Attribute conditions to match when approving agents
MatchAttributes SentinelOneMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes. Minimum value is 1 minute, maximum is 1440 minutes.
SyncInterval *int `json:"sync_interval,omitempty"`
}
// EDRSentinelOneResponse Represents a SentinelOne EDR integration configuration
@@ -3176,6 +3203,9 @@ type EDRSentinelOneResponse struct {
// MatchAttributes Attribute conditions to match when approving agents
MatchAttributes SentinelOneMatchAttributes `json:"match_attributes"`
// SyncInterval How often devices are synced from the integration, in minutes.
SyncInterval int `json:"sync_interval"`
// UpdatedAt Timestamp of when the integration was last updated.
UpdatedAt time.Time `json:"updated_at"`
}