|
| 1 | +name: Bug Report |
| 2 | +description: Report an issue with the CodeQL Bicep extractor or queries |
| 3 | +title: "[Bug]: " |
| 4 | +labels: ["bug", "triage", "needs-investigation"] |
| 5 | +assignees: |
| 6 | + - GeekMasher |
| 7 | +body: |
| 8 | + - type: markdown |
| 9 | + attributes: |
| 10 | + value: | |
| 11 | + Thanks for taking the time to fill out this bug report! |
| 12 | + |
| 13 | + Complete and detailed bug reports help us identify issues faster and improve the CodeQL Bicep extractor and queries. Please provide as much relevant information as possible. |
| 14 | + - type: dropdown |
| 15 | + id: bug-type |
| 16 | + attributes: |
| 17 | + label: Bug Type |
| 18 | + description: What component of the Bicep CodeQL system is affected? |
| 19 | + options: |
| 20 | + - Extractor (code parsing/analysis) |
| 21 | + - Query (false positive/negative) |
| 22 | + - Database generation |
| 23 | + - Performance issue |
| 24 | + - Documentation |
| 25 | + - Other |
| 26 | + default: 0 |
| 27 | + validations: |
| 28 | + required: true |
| 29 | + |
| 30 | + - type: textarea |
| 31 | + id: what-happened |
| 32 | + attributes: |
| 33 | + label: Bug Description |
| 34 | + description: Please provide a clear description of the bug, including what you expected to happen and what actually happened |
| 35 | + placeholder: Describe the issue in detail... |
| 36 | + value: "When running the PHP extractor on my codebase, I encountered the following issue:" |
| 37 | + validations: |
| 38 | + required: true |
| 39 | + - type: input |
| 40 | + id: version |
| 41 | + attributes: |
| 42 | + label: CodeQL Version |
| 43 | + description: What version of CodeQL are you running? |
| 44 | + placeholder: e.g., 2.15.4, 3.0.0, etc. |
| 45 | + validations: |
| 46 | + required: true |
| 47 | + |
| 48 | + - type: input |
| 49 | + id: bicep-version |
| 50 | + attributes: |
| 51 | + label: Bicep Version |
| 52 | + description: What version of Bicep is in your codebase? |
| 53 | + placeholder: e.g., 0.18.4, 0.20.0, etc. |
| 54 | + validations: |
| 55 | + required: false |
| 56 | + - type: dropdown |
| 57 | + id: environment |
| 58 | + attributes: |
| 59 | + label: Execution Environment |
| 60 | + description: Where are you running the CodeQL PHP extractor? |
| 61 | + multiple: true |
| 62 | + options: |
| 63 | + - GitHub Actions |
| 64 | + - CodeQL CLI |
| 65 | + - VS Code CodeQL extension |
| 66 | + - GitHub Code Scanning |
| 67 | + - Custom CI pipeline |
| 68 | + - Other |
| 69 | + - type: textarea |
| 70 | + id: reproduction-steps |
| 71 | + attributes: |
| 72 | + label: Steps to Reproduce |
| 73 | + description: Please provide detailed steps to reproduce the issue |
| 74 | + placeholder: | |
| 75 | + 1. Run command '...' |
| 76 | + 2. Open file '...' |
| 77 | + 3. See error '...' |
| 78 | + value: "1. \n2. \n3. " |
| 79 | + validations: |
| 80 | + required: true |
| 81 | + |
| 82 | + - type: textarea |
| 83 | + id: code-sample |
| 84 | + attributes: |
| 85 | + label: Minimal Code Sample |
| 86 | + description: If applicable, provide a minimal code sample that demonstrates the issue (with sensitive data removed) |
| 87 | + placeholder: | |
| 88 | + // Example Bicep code that triggers the issue |
| 89 | + resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = { |
| 90 | + name: 'mystorage' |
| 91 | + location: 'eastus' |
| 92 | + // ... |
| 93 | + } |
| 94 | + render: bicep |
| 95 | + validations: |
| 96 | + required: false |
| 97 | + |
| 98 | + - type: textarea |
| 99 | + id: logs |
| 100 | + attributes: |
| 101 | + label: Log Output |
| 102 | + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. |
| 103 | + placeholder: Copy error messages, stack traces, or other relevant logs here |
| 104 | + render: shell |
| 105 | + |
| 106 | + - type: dropdown |
| 107 | + id: operating-system |
| 108 | + attributes: |
| 109 | + label: Operating System |
| 110 | + description: Which operating system are you using? |
| 111 | + options: |
| 112 | + - Windows |
| 113 | + - macOS |
| 114 | + - Linux |
| 115 | + - Other |
| 116 | + validations: |
| 117 | + required: false |
| 118 | + |
| 119 | + - type: textarea |
| 120 | + id: additional-context |
| 121 | + attributes: |
| 122 | + label: Additional Context |
| 123 | + description: Add any other context about the problem here |
| 124 | + placeholder: Any other information that might be helpful, such as framework/library versions, related issues, etc. |
| 125 | + validations: |
| 126 | + required: false |
| 127 | + |
| 128 | + - type: checkboxes |
| 129 | + id: terms |
| 130 | + attributes: |
| 131 | + label: Code of Conduct |
| 132 | + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/advanced-security/policy-as-code/blob/main/CODE_OF_CONDUCT.md) |
| 133 | + options: |
| 134 | + - label: I agree to follow this project's Code of Conduct |
| 135 | + required: true |
0 commit comments