BagelHole

asset-inventory

Maintain IT asset inventory and configuration management database. Track hardware, software, and cloud resources. Use when managing IT assets.

BagelHole 807 104 Updated 7mo ago
GitHub

Install

npx skillscat add bagelhole/devops-security-agent-skills/asset-inventory

Install via the SkillsCat registry.

SKILL.md

Asset Inventory

Maintain comprehensive IT asset tracking.

Asset Categories

asset_types:
  hardware:
    - Servers
    - Network devices
    - Endpoints
    
  software:
    - Applications
    - Operating systems
    - Licenses
    
  cloud:
    - Compute instances
    - Storage
    - Databases
    
  data:
    - Databases
    - File shares
    - Backups

AWS Inventory

# List all resources
aws resourcegroupstaggingapi get-resources

# EC2 instances
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,InstanceType,State.Name]'

# AWS Config
aws configservice describe-configuration-recorders

Asset Database Schema

asset:
  id: unique identifier
  name: display name
  type: hardware/software/cloud
  owner: responsible team
  classification: public/internal/confidential
  location: physical/cloud location
  status: active/retired/decommissioned
  created: timestamp
  updated: timestamp
  tags: []

Best Practices

  • Automated discovery
  • Regular reconciliation
  • Owner assignment
  • Classification tagging
  • Lifecycle tracking