[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HCJQZ2CECGAGSW7TSRAZV5":3,"skill-same:01M6HCJQZ2CECGAGSW7TSRAZV5":118},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":6,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6HCJQZ2CECGAGSW7TSRAZV5","building-role-mining-for-rbac-optimization",null,"Apply bottom-up and top-down role mining techniques to discover optimal RBAC roles from existing user-permission assignments, reducing role explosion and enforcing least privilege.","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"rbac","mining","for","role","building role mining for rbac optimization","Optimization","identity-governance","t1078","t1098","access","up","discover","control","roles","top","explosion","techniques","pr","Existing","cybersecurity","2026-11-10 10:12:30",false,"---\nname: building-role-mining-for-rbac-optimization\ndescription: Apply bottom-up and top-down role mining techniques to discover optimal RBAC roles from existing user-permission assignments, reducing role explosion and enforcing least privilege.\ndomain: cybersecurity\nsubdomain: identity-access-management\ntags:\n- rbac\n- role-mining\n- identity-governance\n- access-control\n- least-privilege\n- clustering\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AA-01\n- PR.AA-02\n- PR.AA-05\n- PR.AA-06\nmitre_attack:\n- T1078\n- T1098\n- T1069\ncategory: building-role-mining-for-rbac-optimization\n---\n# Building Role Mining for RBAC Optimization\n\n## Overview\n\nRole mining is the process of analyzing existing user-permission assignments to discover optimal roles for a Role-Based Access Control (RBAC) system. Organizations accumulate excessive permissions over time through job changes, project assignments, and ad-hoc access grants, leading to \"role explosion\" where thousands of granular roles exist with significant overlap. Role mining uses data analysis -- including clustering algorithms, formal concept analysis, and graph-based methods -- to consolidate permissions into a minimal set of roles that accurately represent business functions while enforcing least privilege.\n\n\n## When to Use\n\n- When deploying or configuring building role mining for rbac optimization capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Export of current user-permission assignments (CSV\u002Fdatabase)\n- Identity governance platform or directory service access\n- Python 3.9+ with pandas, scikit-learn, numpy\n- Understanding of organizational structure and job functions\n- Stakeholder access for role validation workshops\n\n## Core Concepts\n\n### Role Mining Approaches\n\n| Approach | Description | Best For |\n|----------|-------------|----------|\n| Bottom-Up | Analyze existing permissions to discover common patterns | Large datasets with organic permission growth |\n| Top-Down | Design roles from business requirements and job descriptions | Greenfield RBAC or organizational restructuring |\n| Hybrid | Combine bottom-up analysis with top-down business validation | Most production environments |\n\n### Role Mining Algorithms\n\n**1. Permission Clustering**: Group users with similar permission sets using k-means or hierarchical clustering. Users in the same cluster share a common role.\n\n**2. Formal Concept Analysis (FCA)**: Mathematical framework that identifies complete set of concepts (user groups sharing exact permission sets) from a binary user-permission matrix.\n\n**3. Graph-Based Mining**: Model users and permissions as a bipartite graph, then find dense subgraphs representing candidate roles.\n\n**4. Boolean Matrix Decomposition**: Decompose the user-permission matrix U into U ≈ R × P where R maps users to roles and P maps roles to permissions.\n\n### Role Mining Metrics\n\n| Metric | Formula | Target |\n|--------|---------|--------|\n| Role Count | Total distinct roles after mining | Minimize |\n| Coverage | Permissions explained by mined roles \u002F Total permissions | > 95% |\n| Weighted Structural Complexity (WSC) | Sum of role-user + role-permission assignments | Minimize |\n| Deviation | Extra permissions not covered by assigned roles | \u003C 5% |\n\n## Workflow\n\n### Step 1: Extract User-Permission Data\n\nCollect the current access state from all identity sources:\n\n```python\nimport pandas as pd\nimport numpy as np\n\n# Load user-permission assignments\n# Format: user_id, permission_id (one row per assignment)\nassignments = pd.read_csv(\"user_permissions.csv\")\n\n# Create binary user-permission matrix (UPA matrix)\nupa_matrix = assignments.pivot_table(\n    index=\"user_id\",\n    columns=\"permission_id\",\n    aggfunc=\"size\",\n    fill_value=0\n)\nupa_matrix = (upa_matrix > 0).astype(int)\n\nprint(f\"Users: {upa_matrix.shape[0]}\")\nprint(f\"Permissions: {upa_matrix.shape[1]}\")\nprint(f\"Assignments: {assignments.shape[0]}\")\nprint(f\"Density: {upa_matrix.values.sum() \u002F upa_matrix.size:.2%}\")\n```\n\n### Step 2: Bottom-Up Role Discovery Using Clustering\n\n```python\nfrom sklearn.cluster import AgglomerativeClustering\nfrom sklearn.metrics import silhouette_score\n\ndef find_optimal_clusters(matrix, max_k=50):\n    \"\"\"Find optimal number of roles using silhouette analysis.\"\"\"\n    scores = []\n    for k in range(2, min(max_k, matrix.shape[0])):\n        clustering = AgglomerativeClustering(\n            n_clusters=k, metric=\"jaccard\", linkage=\"average\"\n        )\n        labels = clustering.fit_predict(matrix)\n        score = silhouette_score(matrix, labels, metric=\"jaccard\")\n        scores.append((k, score))\n\n    optimal_k = max(scores, key=lambda x: x[1])[0]\n    return optimal_k, scores\n\ndef mine_roles_clustering(upa_matrix, n_clusters):\n    \"\"\"Mine roles using hierarchical clustering on Jaccard distance.\"\"\"\n    clustering = AgglomerativeClustering(\n        n_clusters=n_clusters, metric=\"jaccard\", linkage=\"average\"\n    )\n    user_matrix = upa_matrix.values\n    labels = clustering.fit_predict(user_matrix)\n\n    roles = {}\n    for cluster_id in range(n_clusters):\n        cluster_users = upa_matrix.index[labels == cluster_id]\n        cluster_permissions = upa_matrix.loc[cluster_users]\n\n        # Core role = permissions held by >80% of cluster members\n        permission_frequency = cluster_permissions.mean()\n        core_permissions = permission_frequency[permission_frequency >= 0.8].index.tolist()\n\n        roles[f\"Role_{cluster_id}\"] = {\n            \"permissions\": core_permissions,\n            \"user_count\": len(cluster_users),\n            \"users\": cluster_users.tolist(),\n            \"coverage\": permission_frequency[permission_frequency >= 0.8].mean()\n        }\n\n    return roles, labels\n```\n\n### Step 3: Formal Concept Analysis\n\n```python\ndef mine_roles_fca(upa_matrix, min_support=3):\n    \"\"\"Mine roles using Formal Concept Analysis (frequent closed itemsets).\"\"\"\n    from itertools import combinations\n\n    users = upa_matrix.index.tolist()\n    permissions = upa_matrix.columns.tolist()\n\n    concepts = []\n\n    # Find all maximal permission sets shared by at least min_support users\n    for size in range(len(permissions), 0, -1):\n        for perm_combo in combinations(permissions, size):\n            perm_set = set(perm_combo)\n            # Find users who have ALL permissions in this set\n            matching_users = []\n            for user in users:\n                user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n                if perm_set.issubset(user_perms):\n                    matching_users.append(user)\n\n            if len(matching_users) >= min_support:\n                # Check if this is a closed concept (no superset with same extent)\n                is_closed = True\n                for concept in concepts:\n                    if set(matching_users) == set(concept[\"users\"]) and \\\n                       perm_set.issubset(set(concept[\"permissions\"])):\n                        is_closed = False\n                        break\n\n                if is_closed:\n                    concepts.append({\n                        \"permissions\": list(perm_set),\n                        \"users\": matching_users,\n                        \"support\": len(matching_users)\n                    })\n\n        if len(concepts) > 100:  # Limit for performance\n            break\n\n    return concepts\n```\n\n### Step 4: Evaluate and Select Roles\n\n```python\ndef evaluate_role_set(roles, upa_matrix):\n    \"\"\"Evaluate the quality of a mined role set.\"\"\"\n    total_assignments = upa_matrix.values.sum()\n    covered_assignments = 0\n    extra_assignments = 0\n\n    for role_name, role_data in roles.items():\n        role_perms = set(role_data[\"permissions\"])\n        for user in role_data[\"users\"]:\n            user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n            covered = role_perms.intersection(user_perms)\n            extra = role_perms - user_perms\n            covered_assignments += len(covered)\n            extra_assignments += len(extra)\n\n    metrics = {\n        \"total_roles\": len(roles),\n        \"total_assignments\": total_assignments,\n        \"covered_assignments\": covered_assignments,\n        \"coverage_rate\": covered_assignments \u002F total_assignments if total_assignments else 0,\n        \"extra_permissions\": extra_assignments,\n        \"deviation_rate\": extra_assignments \u002F (covered_assignments + extra_assignments) if (covered_assignments + extra_assignments) else 0,\n        \"avg_role_size\": np.mean([len(r[\"permissions\"]) for r in roles.values()]),\n        \"avg_users_per_role\": np.mean([r[\"user_count\"] for r in roles.values()]),\n    }\n    return metrics\n```\n\n### Step 5: Business Validation\n\nAfter mining candidate roles:\n\n1. Map mined roles to business functions (department, job title)\n2. Conduct workshops with business unit managers to validate role definitions\n3. Identify outlier permissions that indicate misconfiguration\n4. Refine roles based on feedback and re-evaluate metrics\n5. Document role definitions with business justification\n\n## Validation Checklist\n\n- [ ] User-permission matrix extracted from all identity sources\n- [ ] Multiple mining algorithms compared (clustering, FCA)\n- [ ] Optimal role count determined via silhouette analysis or WSC\n- [ ] Coverage rate exceeds 95% of existing assignments\n- [ ] Deviation rate below 5% (minimal extra permissions)\n- [ ] Mined roles validated with business stakeholders\n- [ ] Role hierarchy defined (parent-child inheritance)\n- [ ] Exception\u002Foutlier permissions documented\n- [ ] Migration plan created for transitioning to new role model\n- [ ] Ongoing role governance process defined\n\n## References\n\n- [Role Mining: Optimizing RBAC - NIST](https:\u002F\u002Fcsrc.nist.gov\u002Fprojects\u002Frole-based-access-control)\n- [RBAC Standard - ANSI\u002FINCITS 359-2012](https:\u002F\u002Fwww.incits.org\u002F)\n- [Formal Concept Analysis for Role Engineering](https:\u002F\u002Flink.springer.com\u002Fchapter\u002F10.1007\u002F978-3-540-73070-6_7)\n- [scikit-learn Clustering Documentation](https:\u002F\u002Fscikit-learn.org\u002Fstable\u002Fmodules\u002Fclustering.html)\n","# Building Role Mining for RBAC Optimization\n\n## Overview\n\nRole mining is the process of analyzing existing user-permission assignments to discover optimal roles for a Role-Based Access Control (RBAC) system. Organizations accumulate excessive permissions over time through job changes, project assignments, and ad-hoc access grants, leading to \"role explosion\" where thousands of granular roles exist with significant overlap. Role mining uses data analysis -- including clustering algorithms, formal concept analysis, and graph-based methods -- to consolidate permissions into a minimal set of roles that accurately represent business functions while enforcing least privilege.\n\n\n## When to Use\n\n- When deploying or configuring building role mining for rbac optimization capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Export of current user-permission assignments (CSV\u002Fdatabase)\n- Identity governance platform or directory service access\n- Python 3.9+ with pandas, scikit-learn, numpy\n- Understanding of organizational structure and job functions\n- Stakeholder access for role validation workshops\n\n## Core Concepts\n\n### Role Mining Approaches\n\n| Approach | Description | Best For |\n|----------|-------------|----------|\n| Bottom-Up | Analyze existing permissions to discover common patterns | Large datasets with organic permission growth |\n| Top-Down | Design roles from business requirements and job descriptions | Greenfield RBAC or organizational restructuring |\n| Hybrid | Combine bottom-up analysis with top-down business validation | Most production environments |\n\n### Role Mining Algorithms\n\n**1. Permission Clustering**: Group users with similar permission sets using k-means or hierarchical clustering. Users in the same cluster share a common role.\n\n**2. Formal Concept Analysis (FCA)**: Mathematical framework that identifies complete set of concepts (user groups sharing exact permission sets) from a binary user-permission matrix.\n\n**3. Graph-Based Mining**: Model users and permissions as a bipartite graph, then find dense subgraphs representing candidate roles.\n\n**4. Boolean Matrix Decomposition**: Decompose the user-permission matrix U into U ≈ R × P where R maps users to roles and P maps roles to permissions.\n\n### Role Mining Metrics\n\n| Metric | Formula | Target |\n|--------|---------|--------|\n| Role Count | Total distinct roles after mining | Minimize |\n| Coverage | Permissions explained by mined roles \u002F Total permissions | > 95% |\n| Weighted Structural Complexity (WSC) | Sum of role-user + role-permission assignments | Minimize |\n| Deviation | Extra permissions not covered by assigned roles | \u003C 5% |\n\n## Workflow\n\n### Step 1: Extract User-Permission Data\n\nCollect the current access state from all identity sources:\n\n```python\nimport pandas as pd\nimport numpy as np\n\n# Load user-permission assignments\n# Format: user_id, permission_id (one row per assignment)\nassignments = pd.read_csv(\"user_permissions.csv\")\n\n# Create binary user-permission matrix (UPA matrix)\nupa_matrix = assignments.pivot_table(\n    index=\"user_id\",\n    columns=\"permission_id\",\n    aggfunc=\"size\",\n    fill_value=0\n)\nupa_matrix = (upa_matrix > 0).astype(int)\n\nprint(f\"Users: {upa_matrix.shape[0]}\")\nprint(f\"Permissions: {upa_matrix.shape[1]}\")\nprint(f\"Assignments: {assignments.shape[0]}\")\nprint(f\"Density: {upa_matrix.values.sum() \u002F upa_matrix.size:.2%}\")\n```\n\n### Step 2: Bottom-Up Role Discovery Using Clustering\n\n```python\nfrom sklearn.cluster import AgglomerativeClustering\nfrom sklearn.metrics import silhouette_score\n\ndef find_optimal_clusters(matrix, max_k=50):\n    \"\"\"Find optimal number of roles using silhouette analysis.\"\"\"\n    scores = []\n    for k in range(2, min(max_k, matrix.shape[0])):\n        clustering = AgglomerativeClustering(\n            n_clusters=k, metric=\"jaccard\", linkage=\"average\"\n        )\n        labels = clustering.fit_predict(matrix)\n        score = silhouette_score(matrix, labels, metric=\"jaccard\")\n        scores.append((k, score))\n\n    optimal_k = max(scores, key=lambda x: x[1])[0]\n    return optimal_k, scores\n\ndef mine_roles_clustering(upa_matrix, n_clusters):\n    \"\"\"Mine roles using hierarchical clustering on Jaccard distance.\"\"\"\n    clustering = AgglomerativeClustering(\n        n_clusters=n_clusters, metric=\"jaccard\", linkage=\"average\"\n    )\n    user_matrix = upa_matrix.values\n    labels = clustering.fit_predict(user_matrix)\n\n    roles = {}\n    for cluster_id in range(n_clusters):\n        cluster_users = upa_matrix.index[labels == cluster_id]\n        cluster_permissions = upa_matrix.loc[cluster_users]\n\n        # Core role = permissions held by >80% of cluster members\n        permission_frequency = cluster_permissions.mean()\n        core_permissions = permission_frequency[permission_frequency >= 0.8].index.tolist()\n\n        roles[f\"Role_{cluster_id}\"] = {\n            \"permissions\": core_permissions,\n            \"user_count\": len(cluster_users),\n            \"users\": cluster_users.tolist(),\n            \"coverage\": permission_frequency[permission_frequency >= 0.8].mean()\n        }\n\n    return roles, labels\n```\n\n### Step 3: Formal Concept Analysis\n\n```python\ndef mine_roles_fca(upa_matrix, min_support=3):\n    \"\"\"Mine roles using Formal Concept Analysis (frequent closed itemsets).\"\"\"\n    from itertools import combinations\n\n    users = upa_matrix.index.tolist()\n    permissions = upa_matrix.columns.tolist()\n\n    concepts = []\n\n    # Find all maximal permission sets shared by at least min_support users\n    for size in range(len(permissions), 0, -1):\n        for perm_combo in combinations(permissions, size):\n            perm_set = set(perm_combo)\n            # Find users who have ALL permissions in this set\n            matching_users = []\n            for user in users:\n                user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n                if perm_set.issubset(user_perms):\n                    matching_users.append(user)\n\n            if len(matching_users) >= min_support:\n                # Check if this is a closed concept (no superset with same extent)\n                is_closed = True\n                for concept in concepts:\n                    if set(matching_users) == set(concept[\"users\"]) and \\\n                       perm_set.issubset(set(concept[\"permissions\"])):\n                        is_closed = False\n                        break\n\n                if is_closed:\n                    concepts.append({\n                        \"permissions\": list(perm_set),\n                        \"users\": matching_users,\n                        \"support\": len(matching_users)\n                    })\n\n        if len(concepts) > 100:  # Limit for performance\n            break\n\n    return concepts\n```\n\n### Step 4: Evaluate and Select Roles\n\n```python\ndef evaluate_role_set(roles, upa_matrix):\n    \"\"\"Evaluate the quality of a mined role set.\"\"\"\n    total_assignments = upa_matrix.values.sum()\n    covered_assignments = 0\n    extra_assignments = 0\n\n    for role_name, role_data in roles.items():\n        role_perms = set(role_data[\"permissions\"])\n        for user in role_data[\"users\"]:\n            user_perms = set(upa_matrix.columns[upa_matrix.loc[user] == 1])\n            covered = role_perms.intersection(user_perms)\n            extra = role_perms - user_perms\n            covered_assignments += len(covered)\n            extra_assignments += len(extra)\n\n    metrics = {\n        \"total_roles\": len(roles),\n        \"total_assignments\": total_assignments,\n        \"covered_assignments\": covered_assignments,\n        \"coverage_rate\": covered_assignments \u002F total_assignments if total_assignments else 0,\n        \"extra_permissions\": extra_assignments,\n        \"deviation_rate\": extra_assignments \u002F (covered_assignments + extra_assignments) if (covered_assignments + extra_assignments) else 0,\n        \"avg_role_size\": np.mean([len(r[\"permissions\"]) for r in roles.values()]),\n        \"avg_users_per_role\": np.mean([r[\"user_count\"] for r in roles.values()]),\n    }\n    return metrics\n```\n\n### Step 5: Business Validation\n\nAfter mining candidate roles:\n\n1. Map mined roles to business functions (department, job title)\n2. Conduct workshops with business unit managers to validate role definitions\n3. Identify outlier permissions that indicate misconfiguration\n4. Refine roles based on feedback and re-evaluate metrics\n5. Document role definitions with business justification\n\n## Validation Checklist\n\n- [ ] User-permission matrix extracted from all identity sources\n- [ ] Multiple mining algorithms compared (clustering, FCA)\n- [ ] Optimal role count determined via silhouette analysis or WSC\n- [ ] Coverage rate exceeds 95% of existing assignments\n- [ ] Deviation rate below 5% (minimal extra permissions)\n- [ ] Mined roles validated with business stakeholders\n- [ ] Role hierarchy defined (parent-child inheritance)\n- [ ] Exception\u002Foutlier permissions documented\n- [ ] Migration plan created for transitioning to new role model\n- [ ] Ongoing role governance process defined\n\n## References\n\n- [Role Mining: Optimizing RBAC - NIST](https:\u002F\u002Fcsrc.nist.gov\u002Fprojects\u002Frole-based-access-control)\n- [RBAC Standard - ANSI\u002FINCITS 359-2012](https:\u002F\u002Fwww.incits.org\u002F)\n- [Formal Concept Analysis for Role Engineering](https:\u002F\u002Flink.springer.com\u002Fchapter\u002F10.1007\u002F978-3-540-73070-6_7)\n- [scikit-learn Clustering Documentation](https:\u002F\u002Fscikit-learn.org\u002Fstable\u002Fmodules\u002Fclustering.html)\n",{"name":5,"tags":44,"author":49,"domain":38,"license":15,"version":50,"category":5,"nist_csf":51,"subdomain":56,"description":7,"mitre_attack":57},[19,45,25,46,47,48],"role-mining","access-control","least-privilege","clustering","mahipal","1.0",[52,53,54,55],"PR.AA-01","PR.AA-02","PR.AA-05","PR.AA-06","identity-access-management",[58,59,60],"T1078","T1098","T1069","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fbuilding-role-mining-for-rbac-optimization",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill building-role-mining-for-rbac-optimization",{"tool":75,"command":76},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill building-role-mining-for-rbac-optimization",{"tool":78,"command":79},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill building-role-mining-for-rbac-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002FSKILL.md",true,[83,89,94,100,104,108,114],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"assets\u002Ftemplate.md","ASSET","资产文件",1364,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Fassets\u002Ftemplate.md",{"path":90,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002FLICENSE",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fapi-reference.md","REFERENCE","参考文档",1745,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fapi-reference.md",{"path":101,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fstandards.md",1686,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fstandards.md",{"path":105,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fworkflows.md",3002,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Freferences\u002Fworkflows.md",{"path":109,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fagent.py","SCRIPT","脚本",6539,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Fscripts\u002Fagent.py",{"path":115,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002Fprocess.py",9486,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fbuilding-role-mining-for-rbac-optimization\u002Fscripts\u002Fprocess.py",[119,148,174,197,213,234],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":130,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":128,"taxonomyTypeDesc":129},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[131,132,133,134,21,135,38,136,137,138,139,140,141,26,142,143,144,145,146,147],"integrity","backup","recovery","validating backup integrity for recovery","testing","validate","verification","hash-verification","incident-response","ransomware","detection","t1490","disaster-recovery","restore","incident","disaster recovery","ransomware response",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[155,156,157,158,159,38,160,161,162,163,164,165,166,167,168,169,170,171,172,173],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[181,182,145,38,183,184,185,26,142,186,187,188,189,190,191,192,193,194,195,196],"security","triaging security incident","actions","soc","NIST","analysis","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[181,204,205,182,145,159,38,206,184,139,207,208,26,142,209,187,169,210,211,212],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":217,"categories":218,"keywords":219,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[181,220,221,222,223,224,38,225,226,227,184,228,26,229,230,231,190,232,145,233],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review","cm","de",{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":238,"categories":239,"keywords":240,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[241,242,243,244,38,245,246,247,248,249,250,229,251,252,232,253,233,254,255,256],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]