-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3c8af8
commit 906bf0c
Showing
16 changed files
with
133 additions
and
187 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,32 @@ | ||
--- | ||
name: Bug | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Utilisateur** | ||
_non connecté/Réseau CMA/DREETS Normandie/..._ | ||
|
||
**OS** | ||
_Windows 10/Windows 7/..._ | ||
|
||
**Navigateur** | ||
_Firefox 96.0/Chrome 32/..._ | ||
|
||
**Environnement** | ||
_production/recette/dev_ | ||
|
||
**Description du problème** | ||
_L'utilisateur CMA n'arrive pas à chercher un organisme dans le filtre CFA_ | ||
|
||
**Etapes pour reproduire :** | ||
_1. Se connecter au tableau de bord en tant qu'utilisateur réseau_ | ||
_2. Cliquer sur le filtre CFA_ | ||
_3. La liste de résultats ne s'affiche pas_ | ||
|
||
* **Screenshot/enregistrement écran** * | ||
|
||
** Informations supplémentaires ** |
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,17 @@ | ||
--- | ||
name: Carte par défaut | ||
about: Template par défaut d'une carte | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Objectif** | ||
|
||
_Décrire ici l'objectif de la carte_ | ||
|
||
**Definition of done** | ||
|
||
- [ ] _Cette étape est terminée_ | ||
- [ ] _Cette autre étape est terminée_ |
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,9 @@ | ||
**Objectif** | ||
|
||
_Donner l'accès à la BAL à : _ | ||
|
||
**Definition of done** | ||
|
||
- [x] _Vérifier si user et droits_ | ||
- [x] _Créer user_ | ||
- [x] _Envoyer mail new user_ |
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,16 @@ | ||
--- | ||
name: Feedback utilisateurice | ||
about: Template par défaut d'une carte | ||
title: '' | ||
labels: feedback | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Feedback** | ||
_Décrire ici le feedback utilisateur_ | ||
|
||
**Occurences** | ||
| Profil | Verbatim | Nb de fois | | ||
| -------- | -------- | -------- | | ||
Ex: DREETS | "verbatim" | 1 |
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,14 @@ | ||
<!-- | ||
- Garder la PR en DRAFT mode jusqu'à ce qu'elle soit prête. | ||
- L'associer à l'issue GH (avec les mots clés fix, resolve, close... suivi de #<issue_nb> ) | ||
- Merci de nommer les commits / PRs en français (ils seront ajoutés au CHANGELOG.md) | ||
- Merci de fixer la CI avant review | ||
- Une fois prête, merci de rebaser avant | ||
- Pas de merge commit, stp. Faire plutôt "git rebase master" | ||
- Une fois la PR validée, merger avec "Squash and merge" ou "Rebase and merge" si cela a du sens. | ||
--> | ||
|
||
fix #... | ||
|
||
<!-- Une description --> | ||
<!-- Si changements visuels, merci d'ajouter des screenshots ou videos --> |
This file was deleted.
Oops, something went wrong.
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
14 changes: 14 additions & 0 deletions
14
.infra/ansible/roles/setup/files/app/tools/blacklist-ips.sh
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,14 @@ | ||
#!/usr/bin/env bash | ||
# Blacklist list of bad/dangerous IPs | ||
# Daily feed from : https://github.com/stamparm/ipsum | ||
|
||
set -euo pipefail | ||
#Needs to be run as sudo | ||
|
||
ipset -exist create ipsum hash:net | ||
ipset flush ipsum | ||
for ip in $(curl --compressed https://raw.githubusercontent.com/stamparm/ipsum/master/ipsum.txt 2>/dev/null | grep -v "#" | grep -v -E "\s[1-2]$" | cut -f 1); do ipset add ipsum $ip; done | ||
iptables -D INPUT -m set --match-set ipsum src -j DROP 2>/dev/null || true | ||
iptables -I INPUT -m set --match-set ipsum src -j DROP | ||
|
||
bash /opt/bal/tools/send-to-slack.sh "[IPTABLES] IPs blacklist has been renewed." |
9 changes: 9 additions & 0 deletions
9
.infra/ansible/roles/setup/files/app/tools/unblacklist-ips.sh
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,9 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
#Needs to be run as sudo | ||
|
||
iptables -D INPUT -m set --match-set ipsum src -j DROP 2>/dev/null || true | ||
|
||
bash /opt/bal/tools/send-to-slack.sh "[IPTABLES] IPs blacklist has been cleared." | ||
|
||
ipset destroy ipsum |
10 changes: 10 additions & 0 deletions
10
.infra/ansible/roles/setup/tasks/configure-ips-blacklist.yml
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,10 @@ | ||
- name: Install ipset packages | ||
apt: | ||
name: ["ipset"] | ||
|
||
- name: Add cron to blacklist IPs from daily list | ||
ansible.builtin.cron: | ||
name: "blacklist_ips" | ||
minute: "0" | ||
hour: "4" | ||
job: "bash /opt/bal/tools/blacklist-ips.sh >> /var/log/cron.log 2>&1" |
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
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