Skip to content

Commit

Permalink
Add issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2276564 committed Nov 1, 2024
1 parent 2eb47d5 commit a295300
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 0 deletions.
86 changes: 86 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Bug Report
description: Report a security issue or bug in PermGuard
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
⚠️ If you're reporting a security vulnerability, please ensure you're not disclosing sensitive information.
- type: input
id: minecraft-version
attributes:
label: Minecraft Version
description: What version of Minecraft are you running?
placeholder: "e.g., 1.16.5"
validations:
required: true

- type: input
id: server-software
attributes:
label: Server Software
description: What server software are you using?
placeholder: "e.g., Paper"
validations:
required: true

- type: input
id: plugin-version
attributes:
label: PermGuard Version
description: What version of PermGuard are you using?
placeholder: "e.g., 1.0"
validations:
required: true

- type: input
id: permission-plugin
attributes:
label: Permission Plugin
description: What permission plugin are you using? (LuckPerms, etc.)
placeholder: "e.g., LuckPerms"
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: Issue Description
description: Describe the bug and how to reproduce it
placeholder: |
1. Set up permissions...
2. Admin joins...
3. Observe issue...
validations:
required: true

- type: textarea
id: config
attributes:
label: Configuration
description: Please provide your config.yml content (remove sensitive information)
render: yaml

- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please provide relevant logs (remove sensitive information)
render: shell

- type: dropdown
id: security-impact
attributes:
label: Security Impact
description: How would you rate the security impact of this issue?
options:
- "No security impact"
- "Low - Minor security concerns"
- "Medium - Potential security risk"
- "High - Significant security risk"
- "Critical - Immediate attention required"
validations:
required: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
blank_issues_enabled: false
contact_links:
- name: Documentation
url: https://github.com/alex2276564/PermGuard#readme
about: Check out the documentation for installation and security configuration

- name: Security Standards
url: https://www.iso.org/isoiec-27001-information-security.html
about: Learn more about ISO/IEC 27001 security standards

- name: CIS Controls
url: https://www.cisecurity.org/controls
about: Learn more about CIS Controls
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Feature Request
description: Suggest a security enhancement or feature for PermGuard
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: "Thanks for helping improve PermGuard's security features!"

- type: textarea
id: feature-description
attributes:
label: Feature Description
description: Describe the security feature or enhancement you'd like to see
placeholder: A clear description of the security feature you want
validations:
required: true

- type: textarea
id: security-benefit
attributes:
label: Security Benefits
description: Describe how this feature would enhance security
placeholder: "This feature would protect against..."
validations:
required: true

- type: dropdown
id: compliance
attributes:
label: Security Standards
description: Does this feature align with specific security standards?
options:
- "ISO/IEC 27001"
- "CIS Controls"
- "Least Privilege Principle"
- "Other"
- "None"
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternative Solutions
description: Describe any alternative solutions you've considered
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Question
description: Ask a question about PermGuard
title: "[Question]: "
labels: ["question"]
body:
- type: markdown
attributes:
value: "Thanks for your interest in PermGuard!"

- type: textarea
id: question
attributes:
label: Your Question
description: What would you like to know about PermGuard?
placeholder: Please be specific about your security-related question
validations:
required: true

- type: dropdown
id: category
attributes:
label: Question Category
description: What is your question about?
options:
- "Installation"
- "Configuration"
- "Permissions Setup"
- "Security Best Practices"
- "Compliance Requirements"
- "Integration with Other Plugins"
- "Other"
validations:
required: true

0 comments on commit a295300

Please sign in to comment.