chore: migrate issue templates to issue forms (#10853)

* chore: migrate issue templates to issue forms

Signed-off-by: Dwi Siswanto <git@dw1.io>

* chore: remove feature_request issue template

Signed-off-by: Dwi Siswanto <git@dw1.io>

* chore: rm issue-report issue template

Signed-off-by: Dwi Siswanto <git@dw1.io>

* chore: make env attrs as optional

in false-{positive,negative} issue templates

Signed-off-by: Dwi Siswanto <git@dw1.io>

* chore: update labels for template-{contribution,requests}

Signed-off-by: Dwi Siswanto <git@dw1.io>

---------

Signed-off-by: Dwi Siswanto <git@dw1.io>
patch-12
Dwi Siswanto 2024-10-01 15:55:02 +07:00 committed by GitHub
parent b985c8772d
commit 7e14fb092b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 212 additions and 124 deletions

View File

@ -1,21 +0,0 @@
---
name: False Negative
about: 'Issue for template missing valid/expected result.'
labels: 'false-negative'
---
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->
### Nuclei Version:
<!-- You can find current version of nuclei with "nuclei -version" -->
### Template file:
<!-- Template producing false-negative results, for example: "http/cves/XX/XX.yaml" -->
### Command to reproduce:
<!-- Please include the command to replicate the behavior so fix can be applied asap. -->
<!-- if host information can not be shared publicly, please reach out to us on discord server in DM -->

View File

@ -0,0 +1,67 @@
name: False Negative
description: Report templates with false negative results.
title: "[FALSE-NEGATIVE] ..."
labels: ["false-negative"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this false-negative report!
:warning: **Issues missing important information may be closed without further investigation.**
- type: textarea
attributes:
label: Template IDs or paths
description: |
Examples:
- CVE-202A-YYYYY
- CVE-202B-YYYYY
- http/cves/CVE-202C-YYYYY.yaml
value: |
- ...
render: markdown
validations:
required: true
- type: textarea
attributes:
label: Environment
description: |
Examples:
- **OS**: Ubuntu 20.04
- **Nuclei** (`nuclei -version`): v3.3.3
- **Go** (`go version`): go1.22.0 _(only if you've installed it via `go install` command)_
value: |
- OS:
- Nuclei:
- Go:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: |
Steps to reproduce the behavior, for example, commands to run the templates with Nuclei.
:warning: **Please redact any literal target hosts/URLs or other sensitive information.**
placeholder: |
1. Run `nuclei -t ...`
validations:
required: true
- type: textarea
attributes:
label: Relevant dumped responses
description: |
Please copy and paste any relevant dumped responses (`-dresp`/`-debug-resp`). This will be automatically formatted into code, so no need for backticks.
:warning: **Please redact any literal target hosts/URLs or other sensitive information.**
render: shell
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Trace (`-tlog`/`-trace-log`) or error (`-elog`/`-error-log`) log? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false

View File

@ -1,24 +0,0 @@
---
name: False Positive
about: 'Issue for template producing invalid/unexpected result.'
labels: 'false-positive'
---
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->
### Nuclei Version:
<!-- You can find current version of nuclei with "nuclei -version" -->
### Template file:
<!-- Template producing false-positive results, for example: "http/cves/XX/XX.yaml" -->
### Command to reproduce:
<!-- Please include the command to replicate the behavior so fix can be applied asap. -->
<!-- if host information can not be shared publicly, please reach out to us on discord server in DM -->
### Anything else:
<!-- Links? References? Screnshots? Anything that will give us more context about the issue that you are encountering! -->

View File

@ -0,0 +1,67 @@
name: False Positive
description: Report templates with false positive results.
title: "[FALSE-POSITIVE] ..."
labels: ["false-positive"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this false-positive report!
:warning: **Issues missing important information may be closed without further investigation.**
- type: textarea
attributes:
label: Template IDs or paths
description: |
Examples:
- CVE-202A-YYYYY
- CVE-202B-YYYYY
- http/cves/CVE-202C-YYYYY.yaml
value: |
- ...
render: markdown
validations:
required: true
- type: textarea
attributes:
label: Environment
description: |
Examples:
- **OS**: Ubuntu 20.04
- **Nuclei** (`nuclei -version`): v3.3.3
- **Go** (`go version`): go1.22.0 _(only if you've installed it via `go install` command)_
value: |
- OS:
- Nuclei:
- Go:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: |
Steps to reproduce the behavior, for example, commands to run the templates with Nuclei.
:warning: **Please redact any literal target hosts/URLs or other sensitive information.**
placeholder: |
1. Run `nuclei -t ...`
validations:
required: true
- type: textarea
attributes:
label: Relevant dumped responses
description: |
Please copy and paste any relevant dumped responses (`-dresp`/`-debug-resp`). This will be automatically formatted into code, so no need for backticks.
:warning: **Please redact any literal target hosts/URLs or other sensitive information.**
render: shell
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Trace (`-tlog`/`-trace-log`) or error (`-elog`/`-error-log`) log? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false

View File

@ -1,18 +0,0 @@
---
name: Feature request
about: Request feature to implement in this project
labels: 'Type: Enhancement'
---
<!--
1. Please make sure to provide a detailed description with all the relevant information that might be required to start working on this feature.
2. In case you are not sure about your request or whether the particular feature is already supported or not, please start a discussion instead.
3. GitHub Discussion: https://github.com/projectdiscovery/nuclei-templates/discussions/categories/ideas
4. Join our discord server at https://discord.gg/projectdiscovery to discuss the idea on the #nuclei-templates channel.
-->
### Please describe your feature request:
<!-- A clear and concise description of feature to implement -->
### Describe the use case of this feature:
<!-- A clear and concise description of the feature request's motivation and the use-cases in which it could be useful. -->

View File

@ -1,21 +0,0 @@
---
name: Issue report
about: "Issue to report invalid template"
labels: 'Type: Bug'
---
<!--
1. Please search to see if an issue already exists for the bug you encountered.
2. For support requests, FAQs or "How to" questions, please use the GitHub Discussions section instead - https://github.com/projectdiscovery/nuclei-templates/discussions or
3. Join our discord server at https://discord.gg/projectdiscovery and post the question on the #nuclei-templates channel.
-->
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->
### Issue description:
<!-- A concise description of what you're experiencing. -->
### Anything else:
<!-- Links? References? Screnshots? Anything that will give us more context about the issue that you are encountering! -->

View File

@ -1,17 +0,0 @@
---
name: Template Request
about: 'request for new template to be created.'
labels: 'new-template'
---
<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->
### Template for?
<!-- Name the CVE / Vulnerability / Exploit / Misconfiguration / Technology -->
### Details:
<!-- Required information to create a nuclei template such as exploit link / source / reference / vulnerable setup / search query / demo host -->

View File

@ -1,23 +0,0 @@
---
name: Template Contribution
about: Contributing nuclei template using GitHub Issue
labels: 'nuclei-template'
---
### Template Information:
<!-- Include basic information of the template including reference -->
<!-- Templates without any reference mostly likely to take more time for review/validation -->
### Nuclei Template:
<!-- Include nuclei template in between code block shared below -->
```yaml
```
<!-- Include template results if available or redacted valid response snippet of valid match -->
<!-- Example response help us to update the matchers as unique as possible to avoid possible false-positive results. -->

View File

@ -0,0 +1,38 @@
name: Template Contribution
description: Contributing Nuclei template.
title: "[TEMPLATE CONTRIBUTION] ..."
labels: ["template-contribution"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to contribute a Nuclei template!
:warning: **Please submit only one template per issue. This helps us manage and review contributions more effectively.**
- type: checkboxes
attributes:
label: Is there an existing template for this?
description: Please search to see if an template or issue already exists for the template you contributed.
options:
- label: I have searched the existing templates.
required: true
- type: textarea
attributes:
label: Nuclei Template
description: Please copy and paste the Nuclei template below. This will be automatically formatted into code, so no need for backticks.
render: yaml
- type: textarea
attributes:
label: Relevant dumped responses
description: |
Please copy and paste any relevant dumped responses (`-dresp`/`-debug-resp`). This will be automatically formatted into code, so no need for backticks.
:warning: **Please redact any literal target hosts/URLs or other sensitive information.**
render: shell
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that can speed up the review or validation process.
validations:
required: false

View File

@ -0,0 +1,40 @@
name: Template Requests
description: Requesting new Nuclei templates.
title: "[TEMPLATE REQUEST] ..."
labels: ["template-requests"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this template request issue!
- type: checkboxes
attributes:
label: Is there an existing template for this?
description: Please search to see if an template or issue already exists for the template you contributed.
options:
- label: I have searched the existing templates.
required: true
- type: textarea
attributes:
label: Template requests
description: |
Examples:
- CVE-202A-YYYYY
- CVE-202B-YYYYY
- Exploit X
- Misconfiguration X
- Technology X Detection
value: |
- ...
- type: textarea
attributes:
label: Anything else?
description: |
Links? References (e.g. PoC, exploit, blog post, etc.)? Anything that can speed up template creation, such as:
- Detailed vulnerability descriptions
- Sample payloads or exploit code
- Expected responses or indicators of successful exploitation
- Affected software versions or configurations
- Any known limitations or edge cases
validations:
required: false