From zscaler
Audits shadow IT and SaaS application usage via Zscaler Analytics (Z-Insights). Discovers unsanctioned apps, assesses risk scores, monitors CASB-protected SaaS, tracks data transfers, and inventories IoT devices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/zscaler:audit-shadow-itThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
shadow IT, unsanctioned apps, SaaS security, CASB, cloud access, risk score, data exfiltration, SaaS compliance, unauthorized applications, cloud apps, IoT devices, device visibility, shadow IT report, app governance
shadow IT, unsanctioned apps, SaaS security, CASB, cloud access, risk score, data exfiltration, SaaS compliance, unauthorized applications, cloud apps, IoT devices, device visibility, shadow IT report, app governance
Audit your organization's shadow IT exposure and SaaS application usage using Zscaler Analytics (Z-Insights). This skill discovers unsanctioned applications, assesses their risk, monitors CASB-protected cloud services, tracks data transfers, and inventories IoT devices on the network. Shadow IT represents a significant security and compliance risk -- users adopting cloud applications without IT approval can lead to data leaks, compliance violations, and expanded attack surface.
Use this skill when: A security or compliance team needs to discover unauthorized SaaS usage, generate shadow IT risk reports, review CASB findings, assess IoT device sprawl, or support compliance audits (SOC2, ISO 27001, HIPAA).
Important constraints:
Follow this 5-step process to audit shadow IT and SaaS usage.
Gather from the requester:
Get the overall shadow IT dashboard:
zins_get_shadow_it_summary(
start_days_ago=16,
end_days_ago=2
)
This returns a comprehensive summary including:
Key metrics to highlight:
Get detailed shadow IT application list:
zins_get_shadow_it_apps(
start_days_ago=9,
end_days_ago=2,
limit=50
)
Each application entry includes:
Prioritize by risk:
| Risk + Sanctioned State | Data Volume | Action |
|---|---|---|
| High risk + unsanctioned | High | Immediate attention — block and investigate uploads |
| High risk + unsanctioned | Low | Monitor closely; reassess if usage trends up |
| Low risk + unsanctioned | High | Review data transfers; confirm content is not sensitive |
| Sanctioned | Any | Verify compliance and proper configuration |
Get CASB application report:
zins_get_casb_app_report(
start_days_ago=9,
end_days_ago=2,
limit=30
)
CASB (Cloud Access Security Broker) provides data and threat protection for data at rest in cloud services. This report shows:
Cross-reference CASB data with shadow IT findings to identify:
Get IoT device statistics:
zins_get_iot_device_stats(limit=50)
IoT Device Visibility uses AI/ML to automatically detect, identify, and classify IoT devices. Returns:
IoT devices represent shadow IT at the hardware level -- unmanaged devices connecting to the corporate network without IT oversight.
Shadow IT & SaaS Usage Audit Report
=======================================
Date: <current_date>
Period: <start_date> to <end_date>
Requested by: <requester>
## Executive Summary
- **Shadow IT Apps Discovered:** 47 unsanctioned applications
- **Total Data to Shadow Apps:** 12.4 GB (8.1 GB uploaded, 4.3 GB downloaded)
- **High-Risk Applications:** 8 apps with elevated risk scores
- **Users Accessing Shadow IT:** 234 unique users
- **IoT Devices on Network:** 1,847 devices (312 unclassified)
- **Risk Level:** ELEVATED -- 3 critical findings require immediate action
---
## Critical Findings (Immediate Action)
### 1. Unauthorized File Sharing -- file-share-temp.net
- **Risk Score:** 9/10
- **Users:** 45
- **Data Uploaded:** 3.2 GB
- **Category:** File Sharing (unsanctioned)
- **Risk:** Potential data exfiltration -- large uploads to unauthorized service
- **Action:** Block immediately, investigate uploaded content, notify users
### 2. Unmanaged AI/ML Tool -- ai-assistant-free.com
- **Risk Score:** 8/10
- **Users:** 67
- **Data Uploaded:** 1.8 GB
- **Category:** AI/ML (unsanctioned)
- **Risk:** Sensitive data being sent to unvetted AI services
- **Action:** Block, evaluate sanctioned AI alternatives, add to DLP policies
### 3. Unsanctioned Messaging -- secretchat-app.io
- **Risk Score:** 8/10
- **Users:** 23
- **Data Uploaded:** 890 MB
- **Category:** Messaging (unsanctioned)
- **Risk:** Communications outside corporate retention policies
- **Action:** Block, review compliance impact
---
## Shadow IT by Category
| Category | Apps | Users | Data Volume | Top Risk |
|-----------------|------|-------|------------|----------|
| File Sharing | 12 | 156 | 5.2 GB | High |
| AI/ML Tools | 8 | 89 | 2.1 GB | High |
| Messaging | 6 | 45 | 1.3 GB | Medium |
| Social Media | 5 | 178 | 890 MB | Low |
| Cloud Storage | 4 | 67 | 1.5 GB | Medium |
| Productivity | 7 | 123 | 980 MB | Low |
| Other | 5 | 34 | 420 MB | Low |
---
## Shadow IT by Risk Level
| Risk Level | Apps | % of Total | Action Required |
|-----------|------|-----------|------------------------|
| Critical | 3 | 6% | Block immediately |
| High | 5 | 11% | Review and restrict |
| Medium | 14 | 30% | Monitor and evaluate |
| Low | 25 | 53% | Awareness only |
---
## CASB SaaS Application Usage
| Application | Usage Count | Status | Notes |
|-----------------|-------------|-------------|--------------------------|
| Microsoft 365 | 890,000 | Sanctioned | Primary productivity |
| Google Workspace | 234,000 | Sanctioned | Secondary productivity |
| Salesforce | 156,000 | Sanctioned | CRM platform |
| Slack | 123,000 | Sanctioned | Corporate messaging |
| Dropbox | 45,000 | Unsanctioned| Migrate to OneDrive |
---
## IoT Device Inventory
| Device Type | Count | % of Total | Risk Assessment |
|--------------------|-------|-----------|------------------------|
| Printers/Scanners | 450 | 24% | Low -- managed devices |
| Security Cameras | 280 | 15% | Medium -- verify config |
| Smart TVs/Displays | 120 | 6% | Low -- limited access |
| HVAC/Building | 95 | 5% | Medium -- OT network |
| Unmanaged User | 590 | 32% | High -- BYOD devices |
| Unclassified | 312 | 17% | HIGH -- unknown devices |
**312 unclassified devices** require investigation to determine
device type and appropriate network segmentation.
---
## Recommendations
### Immediate (This Week)
1. Block 3 critical-risk shadow IT applications
2. Investigate 3.2 GB of uploads to file-share-temp.net
3. Start classification of 312 unknown IoT devices
### Short-Term (This Month)
4. Create DLP policies for AI/ML tool categories
5. Evaluate sanctioned alternatives for top shadow IT apps
6. Segment IoT devices into dedicated network zones
7. Develop shadow IT acceptable use policy
### Ongoing
8. Schedule monthly shadow IT audits
9. Implement automated alerts for new high-risk app discovery
10. Review IoT device classifications quarterly
Before presenting the final report, sanity-check each tool's response. The four ZINS reads are independent — one of them returning empty does NOT mean the audit failed. It usually means a specific feature isn't licensed or no data exists for the window.
| Tool | Expected shape | If empty / error |
|---|---|---|
zins_get_shadow_it_summary | total_apps, total_bytes, group_by_app_cat_for_app, group_by_risk_index_for_app | Confirm start_days_ago/end_days_ago resolve to a supported window of 1, 7, 15, or 30 days. If still empty, verify Z-Insights licensing in the tenant. |
zins_get_shadow_it_apps | List of apps with risk_index and sanctioned_state | Widen to a 14- or 30-day window before concluding "no shadow IT exists" — short windows can legitimately be empty on small tenants. |
zins_get_casb_app_report | List of SaaS apps with usage counts | Verify CASB is licensed and the time range is within 90 days. Do not invent data if CASB returns nothing. |
zins_get_iot_device_stats | devices_count, iot_devices_count, entries | IoT Device Visibility is a separately-licensed add-on. If unavailable, note this in the report rather than treating it as a workflow failure. |
No shadow IT applications were detected for the specified period.
This could mean:
- Your organization has excellent app governance policies
- URL filtering rules are effectively blocking unsanctioned apps
- The time period may be too narrow -- try a 14-day window
This is a positive finding if app governance policies are in place.
No IoT device data available.
Possible causes:
- IoT Device Visibility is not licensed or enabled
- No IoT-capable sensors are deployed
- Device classification is still in progress
Action: Verify IoT Device Visibility licensing and sensor deployment.
If one of the four ZINS reads returns an error or empty payload while the others succeed, present the available sections and clearly flag the gap — do not fail the whole audit. Most common cause: an add-on (IoT Device Visibility, CASB) is not licensed on the tenant, or the requested window exceeds a per-tool limit. Mark the missing section as "Not available — feature not licensed / data not collected" so the requester can see the scope of what was audited.
Primary workflow: Scope → Shadow IT Summary → App Details → CASB → IoT → Report
Shadow IT tools:
zins_get_shadow_it_summary() -- dashboard overview (totals, categories, risk groups)zins_get_shadow_it_apps() -- detailed app list with risk scores and data volumesCASB tools:
zins_get_casb_app_report() -- SaaS application usage reportIoT tools:
zins_get_iot_device_stats() -- IoT device inventory and classificationsTime range notes:
npx claudepluginhub zscaler/zscaler-mcp-server --plugin zscalerCorrelates Zscaler Z-Insights threat, cyber incident, firewall, and shadow IT data to build security incident timelines for investigation.
Detects unauthorized SaaS and cloud service usage by analyzing proxy logs, DNS query logs, and netflow data with Python pandas for traffic pattern analysis and domain classification.
Detects unauthorized SaaS and cloud service usage by analyzing proxy logs, DNS query logs, and netflow data with Python pandas for traffic pattern analysis and domain classification.