From 8d09867e9921280d63de1a066f4b3e8ade9e3433 Mon Sep 17 00:00:00 2001 From: Vitalii Kanivets Date: Tue, 13 Jun 2023 13:20:58 +0000 Subject: [PATCH] Added issue templates --- .github/ISSUE_TEMPLATE/1_new_policy.yaml | 55 +++++++++++++++++++ .github/ISSUE_TEMPLATE/2_duplicate.yaml | 45 +++++++++++++++ .github/ISSUE_TEMPLATE/3_fix_policy.yaml | 29 ++++++++++ .github/ISSUE_TEMPLATE/4_fix_terraform.yaml | 29 ++++++++++ .github/ISSUE_TEMPLATE/5_fix_test.yaml | 29 ++++++++++ .../6_security_vulnerability.yaml | 29 ++++++++++ .github/ISSUE_TEMPLATE/7_feature_request.yaml | 27 +++++++++ 7 files changed, 243 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1_new_policy.yaml create mode 100644 .github/ISSUE_TEMPLATE/2_duplicate.yaml create mode 100644 .github/ISSUE_TEMPLATE/3_fix_policy.yaml create mode 100644 .github/ISSUE_TEMPLATE/4_fix_terraform.yaml create mode 100644 .github/ISSUE_TEMPLATE/5_fix_test.yaml create mode 100644 .github/ISSUE_TEMPLATE/6_security_vulnerability.yaml create mode 100644 .github/ISSUE_TEMPLATE/7_feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/1_new_policy.yaml b/.github/ISSUE_TEMPLATE/1_new_policy.yaml new file mode 100644 index 000000000..34eddd636 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_new_policy.yaml @@ -0,0 +1,55 @@ +name: 😺 New Policy Proposal +description: Template for creating new policy +title: "[New Policy Name]: " +labels: ["new_policy", "policy"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this New Policy Proposal! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: input + id: source + attributes: + label: Source (Link) + description: What source did you use? + placeholder: ex. my own; ex. CIS Benchmark AWS Foundation v1.2.0 (1.1) + validations: + required: true + - type: textarea + id: describe-policy + attributes: + label: Describe the Policy Proposal + description: A clear and concise description of what the new policy is. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your proposal. + - type: textarea + id: reproduce + attributes: + label: Reproduce + description: "How to reproduce infrastructure with such a security risk?" + value: | + 1. + 2. + ... + - type: textarea + id: remediation + attributes: + label: Remediation + description: "How to fix security risk using gcloud cli or console?" + value: | + 1. + 2. + ... \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/2_duplicate.yaml b/.github/ISSUE_TEMPLATE/2_duplicate.yaml new file mode 100644 index 000000000..e082baba4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2_duplicate.yaml @@ -0,0 +1,45 @@ +name: 😾 Duplicate Exsiting Policy +description: Template for reporting a duplicate of an existing policy +title: "[Duplicate Policy Name]: " +labels: ["policy","duplicate"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this duplicate of an existing policy! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: input + id: policy1 + attributes: + label: First Duplicate Policy + description: Insert a link to the policy + placeholder: ex. policies/ecc-aws-013-ensure_access_keys_are_rotated_every_90_days.yml + validations: + required: true + - type: input + id: policy2 + attributes: + label: Second Duplicate Policy + description: Insert a link to the policy + placeholder: ex. policies/ecc-aws-014-ensure_keys_are_rotated_every_90_days.yml + validations: + required: true + - type: textarea + id: add-info + attributes: + label: Additional information + description: Provide additional information. + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots. diff --git a/.github/ISSUE_TEMPLATE/3_fix_policy.yaml b/.github/ISSUE_TEMPLATE/3_fix_policy.yaml new file mode 100644 index 000000000..f69511077 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3_fix_policy.yaml @@ -0,0 +1,29 @@ +name: 😿 Fix Policy Proposal +description: Template for Fix policy proposal +title: "[Fix Policy, name]: " +labels: ["policy", "bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this Fix Policy Proposal! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: textarea + id: description + attributes: + label: Describe the Fix Policy Proposal + description: A clear and concise description of what the Fix policy is. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your proposal. diff --git a/.github/ISSUE_TEMPLATE/4_fix_terraform.yaml b/.github/ISSUE_TEMPLATE/4_fix_terraform.yaml new file mode 100644 index 000000000..0ded156d3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/4_fix_terraform.yaml @@ -0,0 +1,29 @@ +name: 😿 Fix Terraform Proposal +description: Template for Fix terrafrom proposal +title: "[Fix Terraform, name]: " +labels: ["terraform", "bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this Fix Terraform Proposal! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: textarea + id: description + attributes: + label: Describe the Fix Terraform Proposal + description: A clear and concise description of what the Fix Terraform is. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your proposal. diff --git a/.github/ISSUE_TEMPLATE/5_fix_test.yaml b/.github/ISSUE_TEMPLATE/5_fix_test.yaml new file mode 100644 index 000000000..123312325 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/5_fix_test.yaml @@ -0,0 +1,29 @@ +name: 😿 Fix Test Proposal +description: Template for Fix test proposal +title: "[Fix Test, name]: " +labels: ["test", "bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this Fix Test Proposal! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: textarea + id: description + attributes: + label: Describe the Fix Test Proposal + description: A clear and concise description of what the Fix Test is. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your proposal. diff --git a/.github/ISSUE_TEMPLATE/6_security_vulnerability.yaml b/.github/ISSUE_TEMPLATE/6_security_vulnerability.yaml new file mode 100644 index 000000000..72b3b2979 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/6_security_vulnerability.yaml @@ -0,0 +1,29 @@ +name: 🙀 Report a security vulnerability +description: Template for reporting a security vulnerability +title: "[Vulnerability Name]: " +labels: ["vulnerability"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this security vulnerability! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. test@test.com + validations: + required: false + - type: textarea + id: description + attributes: + label: Describe the security vulnerability + description: A clear and concise description of what the security vulnerability is. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain this security vulnerability. diff --git a/.github/ISSUE_TEMPLATE/7_feature_request.yaml b/.github/ISSUE_TEMPLATE/7_feature_request.yaml new file mode 100644 index 000000000..2e7646deb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/7_feature_request.yaml @@ -0,0 +1,27 @@ +name: 😻 Feature request +description: Suggest an idea for this project +title: "[Feature Name]: " +labels: ["enhancement"] +body: + - type: textarea + id: problem_description + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. Ex. I'm always frustrated when... + validations: + required: true + - type: textarea + id: solution_description + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + - type: textarea + id: alternative_description + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + - type: textarea + id: additional_context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. \ No newline at end of file