Fortinet FortiManager objects List
Certified
Enterprise Edition
List the firewall objects of one type in an ADOM
Fortinet FortiManager objects List
List the firewall objects of one type in an ADOM
Each row is the FortiManager JSON entry of an object. Use filter to narrow the list on the manager.
type: io.kestra.plugin.ee.fortinet.fortimanager.objects.ListExamples
List the address objects whose name starts with web
id: fortimanager_list_addresses
namespace: company.network
tasks:
- id: list_addresses
type: io.kestra.plugin.ee.fortinet.fortimanager.objects.List
host: fmg.example.com
apiKey: "{{ secret('FORTIMANAGER_API_KEY') }}"
adom: root
objectType: ADDRESS
filter:
- ["name", "like", "web%"]
Installation
This Enterprise plugin requires an Enterprise image and access to the plugin registry. Install it with the following command:
kestractl plugins get io.kestra.plugin.ee:plugin-ee-fortinet --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
Properties
host *string
FortiManager host
Host name or IP address of the FortiManager management interface.
objectType *string
ADDRESSADDRESS_GROUPSERVICESERVICE_GROUPVIPSCHEDULE_ONETIMESCHEDULE_RECURRINGObject type
ADDRESS, ADDRESS_GROUP, SERVICE, SERVICE_GROUP, VIP, SCHEDULE_ONETIME or SCHEDULE_RECURRING.
adom string
ADOM
Administrative domain to work in. Defaults to root.
apiKey string
API key
REST API key of a FortiManager API user (FortiManager 7.2.2 and later), sent in the Authorization header and never in the URL. Use {{ secret('FORTIMANAGER_API_KEY') }}. Set either apiKey or username and password.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150caCertificate string
CA certificate
PEM encoded CA certificate(s) used to validate the FortiManager certificate. When empty, the JVM trust store is used.
connectTimeout string
Connect timeout
Maximum time to open the connection. Must be greater than zero. Defaults to 10 seconds.
fetchType string
STOREFETCHFETCH_ONENONEFetch type
FETCH returns all rows in rows, FETCH_ONE returns the first row in row, STORE writes the rows to an Ion file in internal storage and returns its uri. Use STORE for large inventories. Defaults to FETCH.
filter array
Filter
FortiManager filter, a list of [field, operator, value] triples, for example [["name", "like", "web%"]].
insecureSkipVerify booleanstring
Skip TLS verification
Disables certificate and host name validation. Only for labs with self-signed certificates. Defaults to false.
password string
Password
Administrator password. Use {{ secret('FORTIMANAGER_PASSWORD') }}. Never logged nor returned in outputs.
port integerstring
FortiManager port
HTTPS port. Defaults to 443.
requestTimeout string
Request timeout
Maximum time to wait for one answer. Must be greater than zero. Defaults to 60 seconds. Long jobs are polled by task ID instead.
username string
Username
Administrator name, used with password when no apiKey is set. The plugin logs in once per task run and always logs out at the end. Accounts with multi-factor authentication cannot log in this way: use an apiKey.
Outputs
row object
Row
First row. Only set when fetchType is FETCH_ONE.
rows array
Rows
All rows. Only set when fetchType is FETCH.
size integer
Size
Number of rows returned or stored.
uri string
uriURI
Internal storage URI of the rows as an Ion file. Only set when fetchType is STORE.