Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

(L1) Ensure issue deletion is limited to specific users

CIS.GH.1.2.4MediumGitHubOrganization settings

Part of CIS · GitHub · Organization settings · All checks

Run this check
Invoke-Maester -TestId CIS.GH.1.2.4

1.2.4 (L1) Ensure issue deletion is limited to specific users

CIS Benchmark: CIS GitHub Benchmark v1.2.0

Assessment Status: Manual

Issues often capture defects, milestones, operational history, and security-relevant discussion. Broad issue deletion rights can disrupt development records or remove evidence of suspicious activity, so deletion should be limited to trusted users.

Members without the required repository or organization role will not be able to delete issues. Organizations may need a documented escalation path for legitimate issue cleanup.

CIS marks this recommendation as Manual. This Maester test collects the organization setting evidence that maps to CIS GH 1.2.4, then reports Investigate because CIS still requires a human trust review.

When members_can_delete_issues is true, CIS requires verifying that repository admin members are trusted and qualified. When it is false, CIS still requires verifying that organization owners are trusted and qualified.

Endpoint: GET /orgs/{org}

Evidence field: members_can_delete_issues

When this field is returned, the test records the actual value and returns Investigate so the remaining CIS manual review path is visible in Maester results.

GitHub requires organization-owner visibility for full organization details. Use Connect-MtGitHub with a classic PAT that has admin:org, or a fine-grained PAT with organization Members read and Administration read permissions.

In the organization settings, open Member privileges and disable the option that allows members to delete issues for the organization. If the setting remains enabled, manually verify that repository administrators are limited to trusted users and document the review. If the setting is disabled, verify that organization owners are limited to trusted users and document the review.

This test verifies the organization setting only. It does not enumerate repository administrators, organization owners, or decide whether those users are trusted.

Every attribute of this check
FieldValue
Test IDCIS.GH.1.2.4
SeverityMedium
SuiteCIS
ProductGitHub
FeatureOrganization settings
AreaAccess control
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKT1070 Indicator Removal, T1485 Data Destruction
Supports benchmarkCIS GitHub Benchmark (version 1.2.0), requirement 1.2.4
Benchmark levelL1
Benchmark profilesGH Level 1
Supports controlscis-github:1.2.4, nist-800-53-r5:AC-6
PowerShell testTest-MtCisGitHubIssueDeletionLimited
ServicesGitHub