Харденинг GitLab: хитрость лисы в защите кода организации

Привет, Хабр! Я Антон Ерёмин, ведущий инженер дирекции инфраструктурных проектов Positive Technologies. Сегодня на примере харденинга реальных сервисов продолжаем рассказывать о нашей методологии ХардкорИТ — подходе к определению времени атаки и вероятных маршрутов хакеров. В прошлый раз мы проводили харденинг инфраструктуры Microsoft Exchange, затрудняя возможность ее атаки, разбирались в тонкостях защиты zVirt. Теперь настало время рассказать про харденинг GitLab.

https://habr.com/ru/companies/pt/articles/886708/

#gitlab #безопасность #cybersecurity #devops #devsecops #gitignore #gitconfig #ci #cd

Харденинг GitLab: хитрость лисы в защите кода организации

Здесь и далее в статье источник картинок: piкabu.ru Привет, Хабр! Я Антон Ерёмин, ведущий инженер дирекции инфраструктурных проектов Positive Technologies. Сегодня на примере харденинга реальных...

Хабр

開發 Git 的人所推薦的 .gitconfig 設定

在 Hacker News 上看到這個有趣的主題:「How Core Git Developers Configure Git (gitbutler.com)」,原文則是在「How Core Git Developers Configure Git」這邊。

裡面提到的東西我自己大多數都已經 tune 過了,不過還是有些之前沒設定的,像是 tag.sort 用 version:refnam

https://blog.gslin.org/archives/2025/02/27/12274/%e9%96%8b%e7%99%bc-git-%e7%9a%84%e4%ba%ba%e6%89%80%e6%8e%a8%e8%96%a6%e7%9a%84-gitconfig-%e8%a8%ad%e5%ae%9a/

#Computer #Murmuring #Software #algorithm #config #diff #git #gitconfig #sort #tag

開發 Git 的人所推薦的 .gitconfig 設定

在 Hacker News 上看到這個有趣的主題:「How Core Git Developers Configure Git (gitbutler.com)」,原文則是在「How Core Git Developers Configure Git」這邊。 裡面提到的東西我自己大多數都已經 tune 過了,不過還是有些之前沒設定的,像是 tag.

Gea-Suan Lin's BLOG
Git Config Nightmare 15000 Credentials Exposed 10000 Repos Cloned
Brace yourself for a wild ride as we uncover the shocking reality of 15,000 credentials exposed and 10,000 repos cloned in what has been codenamed EMERALDWHALE
#GitConfig #CredentialsExposed #ReposCloned #CyberSecurity #DataBreach #VersionControl #OpenSource #DevOps #CodeSecurity #TechDisaster #hack #tech #news
https://cloudhosting.evostrix.eu/git-config-nightmare-15000-credentials-exposed-10000-repos-cloned/
Git Config Nightmare 15000 Credentials Exposed 10000 Repos Cloned

So what can we learn from this Git Config Nightmare? First and foremost, it's a stark reminder of the importance of robust security measures. From

Evo Cloud
Regenerar el archivo de configuración =.git/config= de un repositorio git

Cómo regenerar .git/config de 200 repositorios usando git-bash-utils

OSiUX

GitHub GPG Configuration

git config --global user.email
git config --global user.email "[email protected]"
git config --global gpg.program gpg
git config --global user.signingkey AABBCCDDEEFF112233
git config --global commit.gpgsign true

also add this to ~/.profile :

export GPG_TTY=$(tty)

#git #GitHub #gpg #GitConfig #reference #bookmarked

What are your #git aliases?
#JoseAngelMunoz shares his #gitconfig if you want to copy his aliases.

He uses git aliases for two reasons:
To improve productivity.
To remember interesting git commands and learn from them.
https://bit.ly/3jmjYY7

What are your git aliases?

Introduction I've been requested multiple times about sharing my .gitconfig to copy my...

DEV Community 👩‍💻👨‍💻

C’est un peu nul en fait de ne pas pouvoir activer n’importe quelle option #git avec #gitConfig

Obligé de passer par un alias pour utiliser « git log --topo-order » 🤦

J’aurais bien apprécié avoir uniquement à faire « git config --global log.topo-order true »

Awesome
---
RT @SusanPotter
I don't know who needs to hear this #git tip, but if you need to set different git configs per group of repos, try this:

# ~/.gitconfig
[includeIf "gitdir:~/src/work/.git/"]
path = ~/.gitconfig.d/work
[includeIf "gitdir:~/src/oss/.git/"]
path = ~/.gitconfig.d/oss

#gitconfig
https://twitter.com/SusanPotter/status/1463114584546545667

Susan Potter on Twitter

“I don't know who needs to hear this #git tip, but if you need to set different git configs per group of repos, try this: # ~/.gitconfig [includeIf "gitdir:~/src/work/.git/"] path = ~/.gitconfig.d/work [includeIf "gitdir:~/src/oss/.git/"] path = ~/.gitconfig.d/oss #gitconfig”

Twitter

Des alias pour votre configuration git 😂 ?

[alias]
poule = pull
vommit = commit
yolo = push --force
moustache = stash

#git #gitconfig #fun #funny #dev #pardon