31 lines
985 B
PHP
31 lines
985 B
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| pfSense REST API Configuration
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| These settings control how the application communicates with the pfSense
|
|
| REST API for advanced network analytics. Set the base URL (including the
|
|
| /api/v2 prefix) and API key in your environment file. Optional settings
|
|
| include SSL verification, request timeout, and default state limits.
|
|
|
|
|
*/
|
|
|
|
'base_url' => rtrim(env('PFSENSE_API_BASE_URL', ''), '/'),
|
|
|
|
'api_key' => env('PFSENSE_API_KEY', ''),
|
|
|
|
'username' => env('PFSENSE_API_USERNAME', ''),
|
|
|
|
'password' => env('PFSENSE_API_PASSWORD', ''),
|
|
|
|
'verify_ssl' => filter_var(env('PFSENSE_API_VERIFY_SSL', true), FILTER_VALIDATE_BOOLEAN),
|
|
|
|
'timeout' => (int) env('PFSENSE_API_TIMEOUT', 10),
|
|
|
|
'state_limit' => (int) env('PFSENSE_API_STATE_LIMIT', 1000),
|
|
];
|
|
|