-
Notifications
You must be signed in to change notification settings - Fork 61
Auto Discover Region Failure #240
-
Hey team, I am getting this error:
Here is my playbook
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments · 5 replies
-
Hi @comradepanda, usually when you have an issue here could be based on API credential issues. But one thing to help you troubleshoot this is to is to get the output of the previous task: - name: CrowdStrike Falcon | Authenticate to CrowdStrike API To do so, you can run ansible like so: ansible-playbook <your playbook>.yml -vvv -e "falcon_api_enable_no_log=no" That should help us to better see what kind of results your are getting for that task |
Beta Was this translation helpful? Give feedback.
All reactions
-
Here is the log output I got. Some tokens and items redacted. ansible-playbook 2.9.23 PLAYBOOK: install_falcon.yml ********************************************************************************************************************************************************************************************************************************* PLAY [all] *************************************************************************************************************************************************************************************************************************************************** TASK [Gathering Facts] *************************************************************************************************************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : ansible.builtin.include_tasks] ************************************************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Validate Required API URL Is Defined] ********************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Validate CrowdStrike API Client ID Is Defined] ************************************************************************************************************************************************ TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Validate CrowdStrike API Client Secret Is Defined] ******************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Validate CrowdStrike Falcon Sensor version decrement is correctly set] ************************************************************************************************************************ TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Configure Python Interpreter for older Linux OSes] ******************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Default Operating System configuration] ******************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Determine if Endpoint Operating System Is RHEL, CentOS, or Oracle Linux] ********************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Determine if Target OS Is Amazon Linux] ******************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Determine if Target OS Is Amazon Linux ARM architecture] ************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Endpoint Operating System Detected Is Debian] ************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Endpoint Operating System Detected Is Ubuntu] ************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Determine if Target OS Is MacOS] ************************************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Endpoint Operating System Detected Is Microsoft Windows] ************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Set default sensor name] ********************************************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Set default sensor name for non-Windows installations] **************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Verify Temporary Install Directory Exists (non-Windows)] ************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Verify Temporary Install Directory Exists (Windows)] ****************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Verify Falcon is not already installed (macOS)] *********************************************************************************************************************************************** TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Override falcon_sensor_version_decrement when falcon_sensor_update_policy_name or falcon_sensor_version set] ********************************************************************************** TASK [crowdstrike.falcon.falcon_install : ansible.builtin.include_tasks] ************************************************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : ansible.builtin.include_tasks] ************************************************************************************************************************************************************************************* TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Authenticate to CrowdStrike API] ************************************************************************************************************************************************************** PLAY RECAP *************************************************************************************************************************************************************************************************************************************************** |
Beta Was this translation helpful? Give feedback.
All reactions
-
Does look like i am getting forbidden. Not sure why. API key has permission download sensor. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Looks like you also need to enable 'Sensor update policies [read]' on your API Key. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
@redhatrises the read permission resolved my issue. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Note, when using the --check flag the auto discover region error will persist. However when running with modification possible the playbook completes. |
Beta Was this translation helpful? Give feedback.
All reactions
-
add sensor update policies [read] to your api key and configure python to use /usr/bin/python2 for AWS linux 2 OS. |
Beta Was this translation helpful? Give feedback.
add sensor update policies [read] to your api key and configure python to use /usr/bin/python2 for AWS linux 2 OS.