custom security configuration ์ ์ฉ ์ ๋ณด
custom security configuration์(๋ฅผ) ๋ง๋ ํ์๋ ์ํฐํ๋ผ์ด์ฆ์ ๋ฆฌํฌ์งํ ๋ฆฌ์ ์ด ๋ฐ์ดํฐ๋ฅผ ์ ์ฉํ์ฌ ํด๋น ๋ฆฌํฌ์งํ ๋ฆฌ์์ ๊ตฌ์ฑ ์ค์ ์ ์ฌ์ฉํ๋๋ก ์ค์ ํด์ผ ํฉ๋๋ค.
์ฐธ๊ณ ํญ๋ชฉ
security configurations์์ ์ฌ์ฉํ๋๋ก ์ค์ ๋ ์ผ๋ถ ๊ธฐ๋ฅ์ ์ฌ์ฉํ๋ ค๋ฉด ์์ ์๊ฐ(๋ถ)์ด ํ์ํ ์ ์์ต๋๋ค. GitHub๋ ๊ตฌ์ฑ์ ๋ฆฌํฌ์งํ ๋ฆฌ์ ์ ์ฉํ ๋ ํด๋น ์ฌ์ค์ ์๋ ค์ค๋๋ค. GitHub Actions ์ฒญ๊ตฌ ์ ๋ณด์ ๋ํ ์์ธํ ๋ด์ฉ์ GitHub Actions ์ฒญ๊ตฌ์(๋ฅผ) ์ฐธ์กฐํ์ธ์.
์ํฐํ๋ผ์ด์ฆ์ ๋ฆฌํฌ์งํ ๋ฆฌ์ custom security configuration ์ ์ฉ
- ํ์ด์ง ๋งจ ์์ ์๋ ์ค์ ์ ํด๋ฆญํฉ๋๋ค..
- ์ผ์ชฝ ์ฌ์ด๋๋ฐ์์ Advanced Security ๋ฅผ ํด๋ฆญํฉ๋๋ค.
- ์ ์ฉํ๋ ค๋ ๊ตฌ์ฑ์ ์ค๋ฅธ์ชฝ์์ Apply to ๋๋กญ๋ค์ด ๋ฉ๋ด๋ฅผ ์ ํํ ๋ค์, All repositories ๋๋ All repositories without configurations๋ฅผ ํด๋ฆญํฉ๋๋ค.
-
ํ์์ ๋ฐ๋ผ ํ์ธ ๋ํ ์์์์ ํ์ ์ฌ๋ถ์ ๋ฐ๋ผ security configuration์(๋ฅผ) ์๋ก ๋ง๋ ๋ฆฌํฌ์งํ ๋ฆฌ์ ์๋์ผ๋ก ์ ์ฉํ๋๋ก ์ ํํ ์ ์์ต๋๋ค. None ๋๋กญ๋ค์ด ๋ฉ๋ด๋ฅผ ์ ํํ ๋ค์, Public, Private and internal ๋๋ ๋ ๋ค๋ฅผ ํด๋ฆญํฉ๋๋ค.
-
๋ณ๊ฒฝ ๋ด์ฉ์ด GitHub Secret Protection, GitHub Code Security, or GitHub Advanced Security ๋ผ์ด์ ์ค ์ฌ์ฉ๋์ ๋ฏธ์น๋ ์ํฅ์ ๋ํ ์์ธํ ์ ๋ณด๋ฅผ ๊ฒํ ํฉ๋๋ค. security configuration์(๋ฅผ) ์ ์ฉํ๋ ค๋ฉด ์ ์ฉ์ ํด๋ฆญํฉ๋๋ค.
security configuration์(๋) ์ผ๋ถ ๋ณด์ ๊ธฐ๋ฅ์ด ๋ณด๊ด๋ ๋ฆฌํฌ์งํ ๋ฆฌ(์: secret scanning)์์ ์คํ๋๋ฏ๋ก ํ์ฑ ๋ฐ ๋ณด๊ด๋ ๋ฆฌํฌ์งํ ๋ฆฌ ๋ชจ๋์ ์ ์ฉ๋ฉ๋๋ค. ๋ํ ๋ฆฌํฌ์งํ ๋ฆฌ๊ฐ ๋์ค์ ๋ณด๊ด๋์ง ์๋ ๊ฒฝ์ฐ, ์ ํํ security configuration์ ์ํด ๋ณดํธ๋๋ค๋ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค.
security configurations๊ฐ ์ํฐํ๋ผ์ด์ฆ์ ์ผ๋ถ ์กฐ์ง์ ์ ์ฉ๋์ง ์์ผ๋ฉด GitHub๋ UI์ ๋ฐฐ๋๋ฅผ ํ์ํ์ฌ ์๋ ค ์ค๋๋ค. ๋ฐฐ๋์ ๋งํฌ๋ฅผ ํด๋ฆญํ์ฌ ๊ด๋ จ๋ ์กฐ์ง ๋ฐ ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋ํ ์์ธํ ์ ๋ณด๋ฅผ ๊ฐ์ ธ์ฌ ์ ์์ต๋๋ค.
๋ค์ ๋จ๊ณ
custom security configuration์ ํธ์งํ๋ ๋ฐฉ๋ฒ์ ์์๋ณด๋ ค๋ฉด ์ฌ์ฉ์ ์ง์ ๋ณด์ ๊ตฌ์ฑ ํธ์ง์(๋ฅผ) ์ฐธ์กฐํ์ธ์.