Skip to content

Commit 3245f24

Browse files
authored
Merge pull request #196 from certego/develop
4.1.0
2 parents 44328a1 + 75fbd48 commit 3245f24

File tree

137 files changed

+1969
-1694
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1969
-1694
lines changed

.github/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
# Changelog
22

33
[**Upgrade Guide**](https://intelowl.readthedocs.io/en/latest/Installation.md#update-to-the-most-recent-version)
4+
## [v4.1.5](https://github.com/intelowlproject/IntelOwl/releases/tag/v4.1.5)
5+
With this release we announce that IntelOwl Project will apply as a new Organization in the next [Google Summer of Code](https://summerofcode.withgoogle.com/)!
6+
7+
We have created a dedicated repository with all the info an aspiring contributor would need to participate to the program.
8+
9+
All open source and cyber security fans! We are calling you! Be the next contributor!
10+
11+
(...and under the hood we did some fixes and updates here and there)
12+
13+
## [v4.1.4](https://github.com/intelowlproject/IntelOwl/releases/tag/v4.1.4)
14+
With this release we welcome our first sponsor in [Open Collective](https://opencollective.com/intelowl-project): [ThreatHunter.ai](https://threathunter.ai/?utm_source=intelowl)! Thank you for your help!
15+
16+
Moreover this release solves a bug regarding the creation of organization-level secrets which was not possible before.
17+
18+
And this is the last release of this year for us! We will see each other back in 2023!
19+
20+
## [v4.1.3](https://github.com/intelowlproject/IntelOwl/releases/tag/v4.1.3)
21+
With this version we officially announce that we have joined [Open Collective](https://opencollective.com/intelowl-project) with the IntelOwl Project!
22+
23+
If you love this project and you would like to help us, we would love to get your support there!
24+
<a href="https://opencollective.com/intelowl-project/donate" target="_blank">
25+
<img src="https://opencollective.com/intelowl-project/donate/[email protected]?color=blue" width=150 />
26+
</a>
27+
28+
**New/Improved Analyzers:**
29+
* adjusted / fixed a lot of popular analyzers like Dehashed, MISP, VirusTotal, Alienvault OTX, PDF_Info and Unpacme
30+
* fixed --malware_tools_analyzers broken
31+
432
## [v4.1.2](https://github.com/intelowlproject/IntelOwl/releases/tag/v4.1.2)
533

634
This version mainly adds quality improvements to the recently released ["Playbook" feature](https://intelowl.readthedocs.io/en/latest/Usage.html#playbooks):

.github/ISSUE_TEMPLATE/new_analyzer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: New Analyzer
3-
about: A new analyzer to integrate with intel owl
3+
about: A new analyzer to integrate with IntelOwl
44
title: "[Analyzer]"
55
labels: new_analyzer
66
assignees: ''
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: New Connector
3+
about: A new connector to integrate with IntelOwl
4+
title: "[Connector]"
5+
labels: new_connector
6+
assignees: ''
7+
8+
---
9+
10+
## Name
11+
12+
## Link
13+
14+
## Type of connector
15+
** what kind of data this connector would push to the integrated service **
16+
17+
18+
## Why should we use it
19+
20+
21+
## Possible implementation
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: New Ingestor
3+
about: A new ingestor to integrate with IntelOwl
4+
title: "[Ingestor]"
5+
labels: new_ingestor
6+
assignees: ''
7+
8+
---
9+
10+
## Name
11+
12+
## Link
13+
14+
15+
## Why should we use it
16+
17+
18+
## Possible implementation
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: New Scanner
3+
about: A new scanner to integrate with IntelOwl
4+
title: "[Scanner]"
5+
labels: new_scanner
6+
assignees: ''
7+
8+
---
9+
10+
## Name
11+
12+
## Link
13+
14+
## Type of scanner
15+
**this can be observable, file, and docker**
16+
17+
18+
## Why should we use it
19+
20+
21+
## Possible implementation

.github/pull_request_template.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Description
44

5-
Please include a summary of the change.
5+
Please include a summary of the change and link to the related issue.
66

77
## Type of change
88

@@ -16,23 +16,21 @@ Please delete options that are not relevant.
1616

1717
- [ ] I have read and understood the rules about [how to Contribute](https://intelowl.readthedocs.io/en/latest/Contribute.html) to this project
1818
- [ ] The pull request is for the branch `develop`
19-
- [ ] A new analyzer or connector was added, in which case:
19+
- [ ] A new plugin (analyzer, connector or playbook) was added or changed, in which case:
2020
- [ ] [Usage](https://github.com/intelowlproject/IntelOwl/blob/master/docs/source/Usage.md) file was updated.
21-
- [ ] [Advanced-Usage](./Advanced-Usage.md) was updated (in case the analyzer/connector provides additional optional configuration).
21+
- [ ] [Advanced-Usage](./Advanced-Usage.md) was updated (in case the plugin provides additional optional configuration).
2222
- [ ] Secrets were added in [env_file_app_template](https://github.com/intelowlproject/IntelOwl/blob/master/docker/env_file_app_template), [env_file_app_ci](https://github.com/certego/IntelOwl/blob/master/docker/env_file_app_ci) and in the [Installation](./Installation.md) docs, if necessary.
23-
- [ ] If the analyzer/connector requires mocked testing, `_monkeypatch()` was used in its class to apply the necessary decorators.
23+
- [ ] If the plugin requires mocked testing, `_monkeypatch()` was used in its class to apply the necessary decorators.
2424
- [ ] If a File analyzer was added, its name was explicitly defined in [test_file_scripts.py](https://github.com/intelowlproject/IntelOwl/blob/master/tests/analyzers_manager/test_file_scripts.py) (not required for Observable Analyzers).
25+
- [ ] If you created a new analyzer and it is free (does not require API keys), please add it in the `FREE_TO_USE_ANALYZERS` playbook in `playbook_config.json`
26+
- [ ] I have provided the resulting raw JSON of a finished analysis and a screenshot of the results.
2527
- [ ] If external libraries/packages with restrictive licenses were used, they were added in the [Legal Notice](https://github.com/certego/IntelOwl/blob/master/.github/legal_notice.md) section.
2628
- [ ] The tests gave 0 errors.
2729
- [ ] Linters (`Black`, `Flake`, `Isort`) gave 0 errors. If you have correctly installed [pre-commit](https://intelowl.readthedocs.io/en/latest/Contribute.html#how-to-start-setup-project-and-development-instance), it does these checks and adjustments on your behalf.
2830
- [ ] If changes were made to an existing model/serializer/view, the docs were updated and regenerated (check [CONTRIBUTE.md](./Contribute.md)).
29-
- [ ] If the analyzer is free, Please add it in the `FREE_TO_USE_ANALYZERS` playbook in `playbook_config.json`
31+
- [ ] If the GUI has been modified, I have a provided a screenshot of the result in the PR.
3032

3133
### Important Rules
34+
- If you miss to compile the Checklist properly, your PR won't be reviewed by the maintainers.
3235
- If your changes decrease the overall tests coverage (you will know after the Codecov CI job is done), you should add the required tests to fix the problem
33-
- Everytime you make changes to the PR and you think the work is done, you should explicitly ask for a review
34-
35-
# Real World Example
36-
37-
Please delete if the PR is for bug fixing.
38-
Otherwise, please provide the resulting raw JSON of a finished analysis (and, if you like, a screenshot of the results). This is to allow the maintainers to understand how the analyzer works.
36+
- Everytime you make changes to the PR and you think the work is done, you should explicitly ask for a review. After being reviewed and received a "change request", you should explicitly ask for a review again once you have made the requested changes.

.github/release_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- [ ] (optional) If we changed/added Docker Analyzers, we need to configure Docker Hub / Dependabot properly.
44
- [ ] Update `CHANGELOG.md` for the new version
5-
- [ ] Change version number in `docs/source/conf.py`, `docs/schema.yml`, `docker/.env`, `docker/.version`, `intel_owl/settings.commons.py` and `start.py`
5+
- [ ] Change version number in `docs/schema.yml` and `docker/.env`
66
- [ ] Verify CI Tests
77
- [ ] Create release for the branch `develop`. A Github action should automatically create a [Twitter](https://twitter.com/intel_owl) post.
88
Write the following statement there (change the version number):

.github/workflows/pull_request_automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/checkout@v3
3737

3838
- name: Set up Python
39-
uses: actions/setup-python@v4.3.0
39+
uses: actions/setup-python@v4.5.0
4040
with:
4141
python-version: 3.9
4242

@@ -136,9 +136,9 @@ jobs:
136136
run: |
137137
docker/scripts/coverage_test.sh tests.analyzers_manager.test_file_scripts
138138
139-
- name: "Test: Playbooks Manager (controllers, views)"
139+
- name: "Test: Playbooks Manager (views)"
140140
run: |
141-
docker/scripts/coverage_test.sh tests.playbooks_manager.test_controller tests.playbooks_manager.test_views
141+
docker/scripts/coverage_test.sh tests.playbooks_manager
142142
143143
- name: "Coverage: generate xml and transfer from docker container to host"
144144
run: |

.github/workflows/scorecard.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# This workflow uses actions that are not certified by GitHub. They are provided
2+
# by a third-party and are governed by separate terms of service, privacy
3+
# policy, and support documentation.
4+
5+
name: Scorecard supply-chain security
6+
on:
7+
# For Branch-Protection check. Only the default branch is supported. See
8+
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
9+
branch_protection_rule:
10+
# To guarantee Maintained check is occasionally updated. See
11+
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
12+
schedule:
13+
- cron: '23 1 * * 0'
14+
push:
15+
branches: [ "master" ]
16+
17+
# Declare default permissions as read only.
18+
permissions: read-all
19+
20+
jobs:
21+
analysis:
22+
name: Scorecard analysis
23+
runs-on: ubuntu-latest
24+
permissions:
25+
# Needed to upload the results to code-scanning dashboard.
26+
security-events: write
27+
# Needed to publish results and get a badge (see publish_results below).
28+
id-token: write
29+
# Uncomment the permissions below if installing in a private repository.
30+
# contents: read
31+
# actions: read
32+
33+
steps:
34+
- name: "Checkout code"
35+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
36+
with:
37+
persist-credentials: false
38+
39+
- name: "Run analysis"
40+
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
41+
with:
42+
results_file: results.sarif
43+
results_format: sarif
44+
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
45+
# - you want to enable the Branch-Protection check on a *public* repository, or
46+
# - you are installing Scorecard on a *private* repository
47+
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
48+
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
49+
50+
# Public repositories:
51+
# - Publish results to OpenSSF REST API for easy access by consumers
52+
# - Allows the repository to include the Scorecard badge.
53+
# - See https://github.com/ossf/scorecard-action#publishing-results.
54+
# For private repositories:
55+
# - `publish_results` will always be set to `false`, regardless
56+
# of the value entered here.
57+
publish_results: true
58+
59+
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
60+
# format to the repository Actions tab.
61+
- name: "Upload artifact"
62+
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
63+
with:
64+
name: SARIF file
65+
path: results.sarif
66+
retention-days: 5
67+
68+
# Upload the results to GitHub's code scanning dashboard.
69+
- name: "Upload to code-scanning"
70+
uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27
71+
with:
72+
sarif_file: results.sarif

.github/workflows/sphinx_build_on_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Set up Python
16-
uses: actions/setup-python@v4.3.0
16+
uses: actions/setup-python@v4.5.0
1717
with:
1818
python-version: 3.9
1919
- name: Install docs requirements

0 commit comments

Comments
 (0)