check_auth_status
Verify ServiceNow authentication is configured before running Fluent commands. Returns JSON with status, profile alias, instance host, auth type, and required user action.
Instructions
Check current ServiceNow authentication status. Lazily validates configured auth once and returns JSON including status, profile alias, instance host, auth type, and any required user action. Call this before commands that require authentication (deploy_fluent_app, fluent_transform, download_fluent_dependencies, download_fluent_app) to verify credentials are configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The ServiceNow instance host. | |
| alias | No | The matched auth profile alias. | |
| status | Yes | Auth status: 'authenticated' | 'not_authenticated' | 'validation_error' | 'skipped' | 'unknown'. | |
| message | Yes | Human-readable status message. | |
| authType | No | Auth type: 'oauth' | 'basic'. | |
| isDefault | No | Whether this is the default auth profile. | |
| timestamp | No | ISO timestamp of the validation. | |
| actionRequired | No | A shell command to run if manual auth setup is needed. |