Description: Script to check status of CWs service running on a VCO How to run: python3 cws health check.py --vco url vco58-usvi1.velocloud.net ====== CWS Health Check ====== VCO URL: vco58-usvi1.velocloud.net ╒═════════════════════╤══════╕ │ CWS Service Status │ pass │ ├─────────────────────┼──────┤ │ VNI Response Time │ pass │ ├─────────────────────┼──────┤ │ CWS DB Connection │ pass │ ├─────────────────────┼──────┤ │ CWS Manager Service │ pass │ ╘═════════════════════╧══════╛ #Python #MIT #VMwareSASE #VMwareCWS #VeloCloudOrchestrator
cws_health_check.py
\n Our intention is to only showcase one of the many ways of using CWS APIs to push security policies programatically.\n Purpose: The purpose of this tool is to programatically push CWS policies. Files in this code: (base) ameyao@ameyao9MD6V cws builder % ls -l total 120 drwxr-xr-x 5 ameyao staff 160 30 Jun 15:37 pycache -rw-r--r-- 1 ameyao staff 13698 30 Jun 13:00 convert excel to yaml.py -rw-r--r-- 1 ameyao staff 8744 30 Jun 12:53 cws config builder functions.py -rw-r--r--@ 1 ameyao staff 19303 30 Jun 15:29 cws info gathering.xlsx -rw-r--r-- 1 ameyao staff 2134 30 Jun 15:00 cws policy builder.py -rw-r--r--@ 1 ameyao staff 624 30 Jun 15:38 initial setup.yaml -rw-r--r-- 1 ameyao staff 482 11 May 21:47 progress bar.py How to run: - Open the file initial setup.yaml - Fill below details and save the file excel file path: "/Users/ Tool Logic: - Specify CWS policies in the Excel file cws info gathering.xlsx - Run the CWS policy Builder - Tool will first convert the EXCEL into YAML - YAML file will contain the payloads used by CWS API calls - Tool will create the CWS policy - Tool will then push following security policies using CWS API - URL filtering - Content Filtering - Geo based Filtering - Content Inspection - SSL Inspection - CASB - DLP Sample Script run: (base) ameyao@ameyao9MD6V cws builder % python3 cws policy builder.py ======== CWS Policy Builder ======== ======== Step 1 - Convert CWS Policy Excel File into YAML ======== WAIT: [########################################] Excel file is converted to YAML File name: cws-policy-template-new.yaml ======== Step 2 - Test VCO connectivity ======== WAIT: [########################################] VCO Connection successful ======== Step 3 - Create new security policy ======== WAIT: [########################################] Created a new security policy ======== Step 4 - Create URL Filtering Rules ======== WAIT: [########################################] Created 14 URL filtering rules ======== Step 5 - Create Content Filtering Rules ======== WAIT: [########################################] Created 11 content filtering rules ======== Step 6 - Create GEO-Based Filtering Rules ======== WAIT: [########################################] Created 12 GEO-Based filtering rules ======== Step 7 - Create Content Inspection Rules ======== WAIT: [########################################] Created 1 Content Inspection rules ======== Step 8 - Create SSL Inspection Rules ======== WAIT: [########################################] Created 1 SSL Inspection rules ======== Step 9 - Create CASB Rules ======== WAIT: [########################################] Created 1 CASB rules ======== Step 10 - Create DLP Rules ======== WAIT: [########################################] Created 1 DLP rules ======== Completed ======== #MIT #VMwareSASE #VeloCloudOrchestrator #Python #VMwareCWS
cws_policy_builder-main.zip
An browser extension that should help to test security with (or even without) VMware Cloud Web Security (CWS) offering. Project can be found under https://github.com/iddocohen/vmware-sase-check. -- VMware Cloud Web Security (CWS) Checker VMware CWS Checker is a web browser extension to help check your security with (or even without) VMware CWS service Releases Unstable: current main repository Stable for Chrome, Firefox and Edge: v0.21 Please note: Latest extension standards uses manifest v3
vmware-sase-check-main.zip
Quickly deploy a disposable test environment for VMware SASE using Terraform. Standing up an SD-WAN Edge and Windows client in any AWS region has never been quicker. And when you are finished testing, simply destroy the environment and redeploy the next time you need it. #OtherLanguage #MIT ...
vmware-sase-branch-lab-main.zip