Skip to content

Commit

Permalink
CHORE: All project: Normalize project structure (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: wiliansilvazup [email protected]
Update project structure for normalize with open source projects horusec with license pipelines and README
  • Loading branch information
wiliansilvazup authored Sep 22, 2021
1 parent 36c5c9b commit 56ec76f
Show file tree
Hide file tree
Showing 106 changed files with 1,633 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GitHub code owners
# See https://github.com/blog/2392-introducing-code-owners
@wiliansilvazup @matheusalcantarazup @lucasbrunozup @nathanmartinszup @iancardosozup

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug
assignees: ''

---

<!-- Please use this template while reporting a bug and provide as much info as possible.
Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->


**What happened**:

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:

**Anything else we need to know?**:

**Environment**:
- Horusec version (use `horusec version`):
- Operating System:
- Network plugin / Tool and version (if this is a network-related / tool bug):
- Others:
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature request
about: Suggest a new feature for this project
labels: feature
assignees: ''

---

<!-- Please only use this template for submitting new feature or enhancement requests -->

**What would you like to be added**:

**Why is this needed**:
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Improvement
about: Suggest a improvement for this project
labels: improvement
assignees: ''
---

<!-- Please only use this template for submitting improvement suggesion-->

**What would you like to be added**:


**Why is this needed**:
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/support_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Support request
about: Support request or question relating to Horusec
labels: support
assignees: ''

---

<!--
Use this template when requesting support or to ask questions.
Please include useful information for understanding your question.
Thanks!
-->


**What happened**:

**How to reproduce it (as minimally and precisely as possible)**:

**Anything else we need to know?**:

**Environment**:
- Horusec version (use `horusec version`):
- Operating System:
- Network plugin / Tool and version (if this is a network-related / tool bug):
- Others:
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!--
Customized from the template (https://github.com/docker/cli/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
Please make sure you've read and understood our contributing guidelines;
https://github.com/ZupIT/horusec/blob/master/CONTRIBUTING.md
Please provide the following information:
-->

**- What I did**

**- How to verify it**

**- Description for the changelog**
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
25 changes: 25 additions & 0 deletions .github/workflows/dco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: DCO Validator
on: [ "push" ]

jobs:
dco-gpg-validator:
runs-on: ubuntu-latest
steps:
- uses: ZupIT/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_GPG: false
33 changes: 33 additions & 0 deletions .github/workflows/license.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: License
on: [ "push" ]
jobs:
license:
permissions:
contents: read
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go
- name: license
run: |
export PATH=${PATH}:`go env GOPATH`/bin
make license
25 changes: 25 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Security
on: [ "push" ]
jobs:
security:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: security
run: make security
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ bin
tmp/
.env
.horusec/
node_modules
venv
Loading

0 comments on commit 56ec76f

Please sign in to comment.