- Products
- Learn
- Local User Groups
- Partners
- More
Check Point Jump-Start Online Training
Now Available on CheckMates for Beginners!
Why do Hackers Love IoT Devices so Much?
Join our TechTalk on Aug 17, at 5PM CET | 11AM EST
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
ZTNA Buyer’s Guide
Zero Trust essentials for your most valuable assets
The SMB Cyber Master
Boost your knowledge on Quantum Spark SMB gateways!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
shiftleft code-scan -s C:\repos\project1
INFO [20-02-2021 07:33:23.966] ShiftLeft Code-Scan Blade Scan Started!
ERROR [20-02-2021 07:34:27.200] failed initializing communication: request timeout after 6 retries got err: Post https://api.eu.dome9.com/v2/auth/assume-role/jwt: dial tcp: lookup api.eu.dome9.com: no such host
Below the environment variables
Environment variable name | value |
CHKP_CLOUDGUARD_ID | 'GUID' |
CHKP_CLOUDGUARD_SECRET | 'secret' |
SHIFTLEFT_REGION | 'EU' |
Windows executables in both versions (x86 and x64)
shiftleft --version
0.0.29
Documentation: https://sc1.checkpoint.com/documents/CloudGuard_Dome9/Documentation/Shift-Left/Installing-shiftleft.... -> 'Installing ShiftLeft on Windows'
I think that's addressed the first issue because it's using the right host - but looks like your key is invalid. Did you generate the key from an EU tenant (ones from the US default tenant aren't valid in EU).
Can you try setting the value of SHIFTLEFT_REGION to 'EU1' ?
No luck
#switch to EU1
Set-Item Env:\SHIFTLEFT_REGION -Value 'EU1'
shiftleft code-scan -s C:\repos\project1
INFO [22-02-2021 17:30:47.793] ShiftLeft Code-Scan Blade Scan Started!
ERROR [22-02-2021 17:30:48.048] failed initializing communication: cannot login to Check Point authentication service (respone 401), please verify your key
#Switch back to EU
Set-Item Env:\SHIFTLEFT_REGION -Value 'EU'
shiftleft code-scan -s C:\repos\project1
INFO [22-02-2021 17:31:01.268] ShiftLeft Code-Scan Blade Scan Started!
INFO [22-02-2021 17:31:11.729] failed initializing communication: request timeout after 6 retries got err: Post https://api.eu.dome9.com/v2/auth/assume-role/jwt: dial tcp: lookup api.eu.dome9.com: no such host
I think that's addressed the first issue because it's using the right host - but looks like your key is invalid. Did you generate the key from an EU tenant (ones from the US default tenant aren't valid in EU).
Hmm, very strange i'm regenerating a new token; updating my environment variables with the new ID and Secret and the region on EU1.
It runs successfully. 🙄
Anyhow thanks for your time.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY