mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-25 22:09:08 +01:00
[management] Make EDR sync interval configurable (#8273)
This commit is contained in:
@@ -3961,6 +3961,11 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
|
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
|
||||||
minimum: 24
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -3979,6 +3984,7 @@ components:
|
|||||||
- tenant_id
|
- tenant_id
|
||||||
- groups
|
- groups
|
||||||
- last_synced_interval
|
- last_synced_interval
|
||||||
|
- sync_interval
|
||||||
- enabled
|
- enabled
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@@ -4025,6 +4031,9 @@ components:
|
|||||||
last_synced_interval:
|
last_synced_interval:
|
||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours.
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4047,6 +4056,11 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
|
description: The devices last sync requirement interval in hours. Minimum value is 24 hours.
|
||||||
minimum: 24
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4073,6 +4087,7 @@ components:
|
|||||||
- groups
|
- groups
|
||||||
- last_synced_interval
|
- last_synced_interval
|
||||||
- match_attributes
|
- match_attributes
|
||||||
|
- sync_interval
|
||||||
- enabled
|
- enabled
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@@ -4115,6 +4130,9 @@ components:
|
|||||||
description: The devices last sync requirement interval in hours.
|
description: The devices last sync requirement interval in hours.
|
||||||
match_attributes:
|
match_attributes:
|
||||||
$ref: '#/components/schemas/SentinelOneMatchAttributes'
|
$ref: '#/components/schemas/SentinelOneMatchAttributes'
|
||||||
|
sync_interval:
|
||||||
|
type: integer
|
||||||
|
description: How often devices are synced from the integration, in minutes.
|
||||||
enabled:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4174,6 +4192,11 @@ components:
|
|||||||
minimum: 0
|
minimum: 0
|
||||||
maximum: 100
|
maximum: 100
|
||||||
example: 75
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4197,6 +4220,7 @@ components:
|
|||||||
- cloud_id
|
- cloud_id
|
||||||
- groups
|
- groups
|
||||||
- zta_score_threshold
|
- zta_score_threshold
|
||||||
|
- sync_interval
|
||||||
- enabled
|
- enabled
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@@ -4237,6 +4261,9 @@ components:
|
|||||||
zta_score_threshold:
|
zta_score_threshold:
|
||||||
type: integer
|
type: integer
|
||||||
description: The minimum Zero Trust Assessment score required for agent approval (0-100)
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4260,6 +4287,11 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
|
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
|
||||||
minimum: 24
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4285,6 +4317,7 @@ components:
|
|||||||
- groups
|
- groups
|
||||||
- last_synced_interval
|
- last_synced_interval
|
||||||
- match_attributes
|
- match_attributes
|
||||||
|
- sync_interval
|
||||||
- enabled
|
- enabled
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@@ -4322,6 +4355,9 @@ components:
|
|||||||
last_synced_interval:
|
last_synced_interval:
|
||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours.
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4370,6 +4406,11 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
|
description: The devices last sync requirement interval in hours. Minimum value is 24 hours
|
||||||
minimum: 24
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
@@ -4396,6 +4437,7 @@ components:
|
|||||||
- groups
|
- groups
|
||||||
- last_synced_interval
|
- last_synced_interval
|
||||||
- match_attributes
|
- match_attributes
|
||||||
|
- sync_interval
|
||||||
- enabled
|
- enabled
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
@@ -4436,6 +4478,9 @@ components:
|
|||||||
last_synced_interval:
|
last_synced_interval:
|
||||||
type: integer
|
type: integer
|
||||||
description: The devices last sync requirement interval in hours.
|
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:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the integration is enabled
|
description: Indicates whether the integration is enabled
|
||||||
|
|||||||
@@ -2918,6 +2918,9 @@ type EDRFalconRequest struct {
|
|||||||
// Secret CrowdStrike API client secret
|
// Secret CrowdStrike API client secret
|
||||||
Secret string `json:"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 The minimum Zero Trust Assessment score required for agent approval (0-100)
|
||||||
ZtaScoreThreshold int `json:"zta_score_threshold"`
|
ZtaScoreThreshold int `json:"zta_score_threshold"`
|
||||||
}
|
}
|
||||||
@@ -2948,6 +2951,9 @@ type EDRFalconResponse struct {
|
|||||||
// LastSyncedAt Timestamp of when the integration was last synced.
|
// LastSyncedAt Timestamp of when the integration was last synced.
|
||||||
LastSyncedAt time.Time `json:"last_synced_at"`
|
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 Timestamp of when the integration was last updated.
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
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 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"`
|
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
|
// 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 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"`
|
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 Timestamp of when the integration was last updated.
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
}
|
}
|
||||||
@@ -3031,6 +3043,9 @@ type EDRHuntressRequest struct {
|
|||||||
|
|
||||||
// MatchAttributes Attribute conditions to match when approving agents
|
// MatchAttributes Attribute conditions to match when approving agents
|
||||||
MatchAttributes HuntressMatchAttributes `json:"match_attributes"`
|
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
|
// EDRHuntressResponse Represents a Huntress EDR integration configuration
|
||||||
@@ -3062,6 +3077,9 @@ type EDRHuntressResponse struct {
|
|||||||
// MatchAttributes Attribute conditions to match when approving agents
|
// MatchAttributes Attribute conditions to match when approving agents
|
||||||
MatchAttributes HuntressMatchAttributes `json:"match_attributes"`
|
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 Timestamp of when the integration was last updated.
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
}
|
}
|
||||||
@@ -3083,6 +3101,9 @@ type EDRIntuneRequest struct {
|
|||||||
// Secret The Azure application client secret
|
// Secret The Azure application client secret
|
||||||
Secret string `json:"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 The Azure tenant id
|
||||||
TenantId string `json:"tenant_id"`
|
TenantId string `json:"tenant_id"`
|
||||||
}
|
}
|
||||||
@@ -3116,6 +3137,9 @@ type EDRIntuneResponse struct {
|
|||||||
// LastSyncedInterval The devices last sync requirement interval in hours.
|
// LastSyncedInterval The devices last sync requirement interval in hours.
|
||||||
LastSyncedInterval int `json:"last_synced_interval"`
|
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 The Azure tenant id
|
||||||
TenantId string `json:"tenant_id"`
|
TenantId string `json:"tenant_id"`
|
||||||
|
|
||||||
@@ -3142,6 +3166,9 @@ type EDRSentinelOneRequest struct {
|
|||||||
|
|
||||||
// MatchAttributes Attribute conditions to match when approving agents
|
// MatchAttributes Attribute conditions to match when approving agents
|
||||||
MatchAttributes SentinelOneMatchAttributes `json:"match_attributes"`
|
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
|
// EDRSentinelOneResponse Represents a SentinelOne EDR integration configuration
|
||||||
@@ -3176,6 +3203,9 @@ type EDRSentinelOneResponse struct {
|
|||||||
// MatchAttributes Attribute conditions to match when approving agents
|
// MatchAttributes Attribute conditions to match when approving agents
|
||||||
MatchAttributes SentinelOneMatchAttributes `json:"match_attributes"`
|
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 Timestamp of when the integration was last updated.
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user