-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from CybercentreCanada/repo_update
Update project to follow template
- Loading branch information
Showing
19 changed files
with
503 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"template": "[email protected]:CybercentreCanada/assemblyline-service-template.git", | ||
"commit": "44fff28eb9f9537cd9564d16dd95a85e88b174be", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"service_name": "urlcreator", | ||
"__svc_name": "urlcreator", | ||
"__repository": "assemblyline-service-urlcreator", | ||
"__pkg_name": "urlcreator", | ||
"class_name": "URLCreator", | ||
"short_description": "This Assemblyline service creates URI files for URIs that were extracted by other services with an associated score that is high enough, or if the URI fits a certain set of criteria.", | ||
"short_description_fr": "Ce service d'Assemblyline crée des fichiers URI pour les URIs qui sont extrait par d'autres services associés à un score suffisament élevé, ou si le URI rencontre certains critères.", | ||
"stage": "POST", | ||
"category": "Static Analysis", | ||
"org_name_full": "CybercentreCanada", | ||
"org_name_short": "cccs", | ||
"license": "mit", | ||
"_template": "[email protected]:CybercentreCanada/assemblyline-service-template.git" | ||
} | ||
}, | ||
"directory": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Dockerfile | ||
.idea | ||
.git | ||
.gitignore | ||
.vscode | ||
.dockerignore | ||
|
||
pipelines | ||
venv | ||
.venv | ||
env | ||
.env | ||
test | ||
tests | ||
examples | ||
docs | ||
|
||
build | ||
dist | ||
**/__pycache__ | ||
**/*.pyc | ||
|
||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
.tox | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Assemblyline contributing guide | ||
|
||
This guide covers the basics of how to contribute to the Assemblyline project. | ||
|
||
Python code should follow the PEP8 guidelines defined here: | ||
[PEP8 Guidelines](https://www.python.org/dev/peps/pep-0008/). | ||
|
||
## Tell us want you want to build/fix | ||
|
||
Before you start coding anything you should connect with the Assemblyline community via the | ||
[Assemblyline Discord server](https://discord.gg/GUAy9wErNu) and/or the | ||
[central Assemblyline GitHub project](https://github.com/CybercentreCanada/assemblyline/issues) to make sure no one | ||
else is working on the same thing and that whatever you are going to build still fits with the vision of the system. | ||
|
||
## Git workflow | ||
|
||
- Clone the repo to your own account | ||
- Checkout and pull the latest commits from the master branch | ||
- Make a branch | ||
- Work on your modifications and make sure your changes work as expected | ||
- When you're satisfied with your changes, create a pull requests to the Assemblyline repo | ||
|
||
#### Transfer your service repo | ||
|
||
If you've worked on a new service that you want to be included in the default service selection you'll have to transfer | ||
the associated repo into our control. | ||
|
||
#### You are not allow to merge: | ||
|
||
Even if you try to merge in your pull request, you will be denied. Only a few people in our team are allowed to merge | ||
code into our repositories. | ||
|
||
We check for new pull requests every day and will merge them in once they have been approved by someone in our team. | ||
|
||
# Guide de contribution d'Assemblyline | ||
|
||
Ce guide couvre les bases afin de contribuer au projet Assemblyline. | ||
|
||
Le code Python doit suivre les directives PEP8 définies ici: | ||
[Directives PEP8](https://www.python.org/dev/peps/pep-0008/). | ||
|
||
## Dites-nous que vous voulez construire / réparer | ||
|
||
Avant de commencer à coder quoi que ce soit, vous devriez vous connecter à la communauté Assemblyline via le | ||
[Serveur Discord Assemblyline](https://discord.gg/GUAy9wErNu) et/ou le | ||
[projet GitHub central Assemblyline](https://github.com/CybercentreCanada/assemblyline/issues) pour vous assurer que | ||
personne d'autre ne travaille sur la même chose et que tout ce que vous allez construire correspond toujours à la vision | ||
du système. | ||
|
||
## Flux de travail avec Git | ||
|
||
- Clonez le référentiel sur votre propre compte | ||
- Changez de branche pour la branche principale et la synchroniser avec le serveur de référence | ||
- Faire une nouvelle branche | ||
- Travaillez sur ce que vous souhaitez et assurez-vous que vos modifications fonctionnent comme prévu | ||
- Lorsque vous êtes satisfait de vos modifications, créez une demande de fusion sur le référentiel d'Assemblyline | ||
|
||
#### Transférer votre référentiel de service | ||
|
||
Si vous avez travaillé sur un nouveau service que vous souhaitez inclure dans la sélection de service par défaut, vous | ||
devrez transférer le référentiel associé sous notre contrôle. | ||
|
||
#### Vous n'êtes pas autorisé à compléter une fusion: | ||
|
||
Même si vous tentez de compléter une demande de fusion, vous serez refusé. Seules quelques personnes de notre équipe | ||
sont autorisées à fusionner dans nos référentiels. | ||
|
||
Nous vérifions les nouvelles demande de fusion tous les jours et les fusionnerons une fois qu'elles auront été approuvées | ||
par quelqu'un de notre équipe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Crown Copyright, Government of Canada (Canadian Centre for Cyber Security / Communications Security Establishment) | ||
Copyright (c) 2025 Crown Copyright, Government of Canada | ||
(Canadian Centre for Cyber Security / Communications Security Establishment) | ||
|
||
Copyright title to all 3rd party software distributed with Assemblyline (AL) is held by the respective copyright holders as noted in those files. Users are asked to read the 3rd Party Licenses referenced with those assets. | ||
Copyright title to all 3rd party software distributed with Assemblyline (AL) | ||
is held by the respective copyright holders as noted in those files. Users | ||
are asked to read the 3rd Party Licenses referenced with those assets. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Oops, something went wrong.