Release Date: July 9, 2025
Version: 0.21.0 (Minor Release)
Focus: Revolutionary cache analytics and sophisticated data insights
Why a Minor Release? This version introduces significant new features and capabilities, particularly the completely redesigned cache analytics system with enterprise-grade functionality. While maintaining full backward compatibility, the substantial feature additions and enhanced capabilities justify a minor version increment.
This release transforms BlackCat's cache system from basic statistics to enterprise-grade analytics with sophisticated insights and predictive capabilities.
- 15 New Parameters for advanced filtering and analysis
- 6 Output Formats including JSON, CSV, XML export capabilities
- Trend Analysis with growth predictions and usage patterns
- Distribution Histograms with visual ASCII charts
- Intelligent Recommendations for optimization
- Advanced Performance Metrics including hit rates and efficiency analysis
# Advanced filtering examples
Get-BlackCatCacheStats -FilterCompressed -MinSize 500 -MaxAge 12 -Top 10
Get-BlackCatCacheStats -FilterLarge -SortBy Size -ShowTrends
- Growth rate calculations (24-hour patterns)
- Peak usage hour identification
- Cache turnover rate analysis
- Predictive maintenance suggestions
- Hit Rate: Percentage of non-expired entries
- Cache Utilization: Efficiency of cache usage
- Memory Density: Average memory per entry
- Compression Ratio: Percentage of compressed entries
# Export to multiple formats
Get-BlackCatCacheStats -ExportPath "cache-analysis.json" -Quiet
Get-BlackCatCacheStats -OutputFormat CSV -ExportPath "entries.csv"
Get-BlackCatCacheStats -ShowTrends -OutputFormat XML -ExportPath "report.xml"
All cache-enabled functions now support:
-SkipCache
: Bypass cache for fresh data-CacheExpirationMinutes
: Custom expiration times-MaxCacheSize
: Memory management-CompressCache
: Enable compression
- Get-RoleAssignment: Full cache parameter support
- Invoke-MSGraph: Enhanced caching with LRU management
- Invoke-AzBatch: Optimized cache performance
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BlackCat Cache Analytics Dashboard β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π GLOBAL OVERVIEW
ββ Active Cache Types: 2/2
ββ Overall Hit Rate: 87.5%
ββ Total Memory Usage: 15.7 MB
ββ Active Filters: Compressed, MinSize: 500KB
π MSRAPH CACHE ANALYTICS
ββ Performance: Hit Rate: 90% | Utilization: 85%
ββ Memory: Usage: 8.2 MB | Avg: 156 KB/entry
ββ Efficiency: Compression: 65% | Expiration Rate: 10%
ββ Age: Cache Span: 12.5 hours | Density: 156 KB/entry
Size Distribution (MB):
0.1-0.5 βββββββββββββ 45 (32.1%)
0.5-1.0 βββββββββ 28 (20.0%)
1.0-2.0 βββββββ 22 (15.7%)
The system now provides context-aware optimization suggestions:
- Performance Optimization: Low hit rate warnings
- Memory Management: Compression recommendations
- Trend Analysis: Growth pattern insights
- Predictive Maintenance: Proactive cache management
# Comprehensive analysis with all features
Get-BlackCatCacheStats -ShowPerformance -ShowTrends -ShowRecommendations -IncludeHistogram
# Advanced filtering for troubleshooting
Get-BlackCatCacheStats -FilterExpired -SortBy ExpirationTime -ShowDetails
# Performance monitoring for specific cache
Get-BlackCatCacheStats -CacheType MSGraph -ShowPerformance -OutputFormat Table
# Export comprehensive report
Get-BlackCatCacheStats -ShowDetails -ShowTrends -ExportPath "cache-report.json" -Quiet
App Role Permission Discovery Enhancements:
- Enhanced
Get-AppRolePermission
with emoji output and improved user experience - Added color-coded output and enhanced search feedback
- Improved error handling with visual indicators
Storage Account Key Retrieval Enhancements:
- Enhanced
Get-StorageAccountKey
with comprehensive output and statistics - FIXED: Corrected error handling to use RBAC terminology instead of Key Vault references
- Added parallel processing with thread-safe result aggregation
- Implemented OutputFormat parameter (Object, JSON, CSV, Table)
Role Assignment Discovery Enhancements:
- Enhanced
Get-RoleAssignment
with duration tracking and performance monitoring - Added PIM (Privileged Identity Management) eligible role assignment support
- Added
-IncludeEligible
parameter for comprehensive PIM discovery - Enhanced role assignment objects with
IsEligible
property
Entra ID Information Discovery Enhancements:
- Enhanced
Get-EntraInformation
with automatic object type detection - Added intelligent automatic fallback for ObjectId queries
- Improved error handling with detailed error message classification
Microsoft Graph API Core Enhancements:
- Enhanced
Invoke-MsGraph
with robust retry logic and throttling management - Added configurable retry mechanism with
-MaxRetries
parameter - Added
OutputFormat
parameter with multiple format support
- Fixed
Get-KeyVaultSecret
function's access summary statistics - Corrected counting logic for policy vs. permission errors
- Enhanced error pattern matching for Key Vault access scenarios
- Significant refactoring of
Find-PublicStorageContainer
function - Optimized DNS resolution and container enumeration
- Enhanced output formatting and summary reporting
- Code quality improvements and cleanup
- Fixed Azure Token compatibility issues with newer Az.Accounts modules
- Added
ConvertFrom-AzAccessToken
helper for SecureString token handling - Resolved authentication issues across all module functions
β Fully backward compatible - existing scripts continue to work unchanged
- All existing
Get-BlackCatCacheStats
calls work as before - New parameters are optional with sensible defaults
- Enhanced output maintains existing format while adding new insights
Consider updating scripts to leverage new capabilities:
# Before
Get-BlackCatCacheStats
# After (enhanced)
Get-BlackCatCacheStats -ShowPerformance -ShowRecommendations
- Performance Monitoring: Real-time cache performance insights
- Memory Optimization: Intelligent compression and cleanup recommendations
- Trend Analysis: Predictive capacity planning
- Data Export: Comprehensive reporting in multiple formats
- Audit Capabilities: Detailed cache usage tracking
- Performance Analysis: Cache effectiveness monitoring
- Programmatic Access: Quiet mode for automated scripts
- Advanced Filtering: Sophisticated query capabilities
- Integration Ready: JSON/XML output for system integration
This release establishes BlackCat as having enterprise-grade cache analytics capabilities. Future releases will focus on:
- Additional cache types and integrations
- Real-time monitoring capabilities
- Advanced machine learning insights
- Extended export and reporting features
- New Parameters: 15+ advanced filtering and analysis options
- Output Formats: 6 comprehensive formats (Summary, Table, List, JSON, CSV, XML)
- Analytics Features: 10+ sophisticated analysis capabilities
- Enhanced Functions: 4 core functions with cache integration
- Documentation: Comprehensive examples and usage guides
BlackCat v0.21.0 represents a significant advancement in cache analytics, transforming basic statistics into actionable intelligence for optimal performance and efficient resource management.
π Happy caching with BlackCat v0.21.0!