feat: 9 new waste detectors + extended CSV data + AI dashboard (dashboard_AI.py)#2
Open
smahima27 wants to merge 5 commits into
Open
feat: 9 new waste detectors + extended CSV data + AI dashboard (dashboard_AI.py)#2smahima27 wants to merge 5 commits into
smahima27 wants to merge 5 commits into
Conversation
New detection rules in detection_engine.py: - detect_nat_idle: flag NAT Gateways with <1 GB/week traffic - detect_idle_load_balancers: flag ALBs/NLBs with 0 target groups or requests - detect_old_gen_instances: flag t2/m4/c4/r4 families → recommend t3/m5/c5/r5 - detect_orphan_snapshots: flag EBS snapshots >90 days old with no source volume - detect_gp2_volumes: flag gp2 volumes for migration to gp3 (20% cheaper) - detect_ondemand_no_coverage: flag EC2 on-demand >30d without RI/SP (40% saving) - detect_infinite_log_retention: flag CloudWatch log groups with infinite retention (70% saving) - detect_stopped_ec2_with_ebs: flag stopped EC2 still paying for attached EBS - detect_underutilized_cache_redshift: flag ElastiCache/Redshift at <10% CPU Also: - Extended aws_cost_data.csv with 37 new sample rows covering all new resource types - Fixed detect_idle_ec2 to exclude stopped instances (prevents double-counting) - Added dashboard_AI.py: enhanced Streamlit dashboard with embedded Claude AI chatbot, Slack webhook alerts, dark-themed findings cards, and executive summary panel Results: 77 findings · $7,686/mo · $92,238/yr"
…TERS_CSV, GHOSTBUSTERS_FINDINGS)
… table and CLI fix
feat: add Untagged Resources panel — metrics, charts, table and CLI tagging fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds 9 new AWS waste detection rules, extended sample data, and an AI-powered dashboard — built during the Perforce Global Jam 2026 hackathon.
New detection rules (
detection_engine.py)detect_nat_idledetect_idle_load_balancersdetect_old_gen_instancesdetect_orphan_snapshotsdetect_gp2_volumesdetect_ondemand_no_coveragedetect_infinite_log_retentiondetect_stopped_ec2_with_ebsdetect_underutilized_cache_redshiftBug fix:
detect_idle_ec2now excludesstoppedinstances to prevent double-counting with rule #8.Sample data (
aws_cost_data.csv)Extended from 60 to 98 rows. Added 38 new rows covering:
New file:
dashboard_AI.pyEnhanced Streamlit dashboard featuring:
Run with:
Detection results after changes