- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to create a pre-push git hook to detect hardcoded secrets like API keys & credentials
Secrets like API keys and credentials can create a huge security risk when they get leaked into remote git repositories. Secrets inside git repositories must be considered compromised and revoked immediately, this is why it is much better to detect secrets before they enter your repository. This tutorial runs through how to create a pre-push hook that will run after the ' git push' command and block the push if any commits contain secrets.
Links
Pre-Commit framework: https://pre-commit.com
Ggshield GitHub repository: https://github.com/gitguardian/ggshield
GitGuardian Dashboard: https://dashboard.gitguardian.com GitGuardian website: https://gitguardian.com
Timeline:
0:00-Intro
0:30-pre-commit vs pre-push git hooks
1:38-Installing pre-commit framework
2:24-Creating the pre-commit YAML file
4:19-Installing the pre-push git hook
5:00-Getting a GitGuardian API key
6:46-Creating your .gitignore file
7:35-Testing the pre-push hook
9:52-Ignoring secrets and files with GGShield
12:57-Wrapup
Видео How to create a pre-push git hook to detect hardcoded secrets like API keys & credentials канала GitGuardian
Links
Pre-Commit framework: https://pre-commit.com
Ggshield GitHub repository: https://github.com/gitguardian/ggshield
GitGuardian Dashboard: https://dashboard.gitguardian.com GitGuardian website: https://gitguardian.com
Timeline:
0:00-Intro
0:30-pre-commit vs pre-push git hooks
1:38-Installing pre-commit framework
2:24-Creating the pre-commit YAML file
4:19-Installing the pre-push git hook
5:00-Getting a GitGuardian API key
6:46-Creating your .gitignore file
7:35-Testing the pre-push hook
9:52-Ignoring secrets and files with GGShield
12:57-Wrapup
Видео How to create a pre-push git hook to detect hardcoded secrets like API keys & credentials канала GitGuardian
Комментарии отсутствуют
Информация о видео
19 января 2022 г. 22:32:43
00:13:22
Другие видео канала



![[Webinar] Taming Secrets Sprawl with Doppler and GitGuardian](https://i.ytimg.com/vi/Q7UEVAZtXA4/default.jpg)




![[Webinar] Hunting for Secrets in Docker Hub: what we have found and how you can prevent it.](https://i.ytimg.com/vi/PO4LPU3dii8/default.jpg)





![[Webinar] Exposing Leaked Secrets Inside Android Apps! Cybernews & GitGuardian](https://i.ytimg.com/vi/4_L4sfe1O8E/default.jpg)




![[Webinar] DevSecOps - A DevSecOps Maturity Model for Secrets Management](https://i.ytimg.com/vi/8W-0dI9gHEc/default.jpg)

