Add DNS Armor support (#3874)

* add dns armor module

* add dns armor to pf

* added missing/optional attributes

* Update project schemas

* Set version file copyright year to 2025

* replace module with single resource

* moved into it's own file

* Added tests and defaulting enabled to false

* Add optional name parameter and updated schemas

* make dns_threat_detector.enabled optional in project schemas

---------

Co-authored-by: Luca Prete <preteluca@gmail.com>
This commit is contained in:
Liam Nesteroff
2026-04-24 16:58:48 +10:00
committed by GitHub
parent 427d9a3298
commit f5ee82ab3a
15 changed files with 258 additions and 5 deletions

View File

@@ -481,6 +481,36 @@
"descriptive_name": {
"type": "string"
},
"dns_threat_detector": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"excluded_networks": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "object"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"threat_detector_provider": {
"type": "string",
"enum": [
"INFOBLOX"
]
}
}
},
"org_policies": {
"type": "object",
"additionalProperties": false,

View File

@@ -149,6 +149,16 @@
- items: *string*
- **name**: *string*
- **descriptive_name**: *string*
- **dns_threat_detector**: *object*
<br>*additional properties: false*
- **enabled**: *boolean*
- **excluded_networks**: *array*
- items: *string*
- **labels**: *object*
- **location**: *string*
- **name**: *string*
- **threat_detector_provider**: *string*
<br>*enum: ['INFOBLOX']*
- **org_policies**: *object*
<br>*additional properties: false*
- **`^[a-z]+\.`**: *object*

View File

@@ -481,6 +481,36 @@
"descriptive_name": {
"type": "string"
},
"dns_threat_detector": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"excluded_networks": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "object"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"threat_detector_provider": {
"type": "string",
"enum": [
"INFOBLOX"
]
}
}
},
"org_policies": {
"type": "object",
"additionalProperties": false,

View File

@@ -149,6 +149,16 @@
- items: *string*
- **name**: *string*
- **descriptive_name**: *string*
- **dns_threat_detector**: *object*
<br>*additional properties: false*
- **enabled**: *boolean*
- **excluded_networks**: *array*
- items: *string*
- **labels**: *object*
- **location**: *string*
- **name**: *string*
- **threat_detector_provider**: *string*
<br>*enum: ['INFOBLOX']*
- **org_policies**: *object*
<br>*additional properties: false*
- **`^[a-z]+\.`**: *object*

View File

@@ -481,6 +481,36 @@
"descriptive_name": {
"type": "string"
},
"dns_threat_detector": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"excluded_networks": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "object"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"threat_detector_provider": {
"type": "string",
"enum": [
"INFOBLOX"
]
}
}
},
"org_policies": {
"type": "object",
"additionalProperties": false,

View File

@@ -149,6 +149,16 @@
- items: *string*
- **name**: *string*
- **descriptive_name**: *string*
- **dns_threat_detector**: *object*
<br>*additional properties: false*
- **enabled**: *boolean*
- **excluded_networks**: *array*
- items: *string*
- **labels**: *object*
- **location**: *string*
- **name**: *string*
- **threat_detector_provider**: *string*
<br>*enum: ['INFOBLOX']*
- **org_policies**: *object*
<br>*additional properties: false*
- **`^[a-z]+\.`**: *object*

View File

@@ -481,6 +481,36 @@
"descriptive_name": {
"type": "string"
},
"dns_threat_detector": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"excluded_networks": {
"type": "array",
"items": {
"type": "string"
}
},
"labels": {
"type": "object"
},
"location": {
"type": "string"
},
"name": {
"type": "string"
},
"threat_detector_provider": {
"type": "string",
"enum": [
"INFOBLOX"
]
}
}
},
"org_policies": {
"type": "object",
"additionalProperties": false,

View File

@@ -149,6 +149,16 @@
- items: *string*
- **name**: *string*
- **descriptive_name**: *string*
- **dns_threat_detector**: *object*
<br>*additional properties: false*
- **enabled**: *boolean*
- **excluded_networks**: *array*
- items: *string*
- **labels**: *object*
- **location**: *string*
- **name**: *string*
- **threat_detector_provider**: *string*
<br>*enum: ['INFOBLOX']*
- **org_policies**: *object*
<br>*additional properties: false*
- **`^[a-z]+\.`**: *object*