sbomlyze

(★ 24)

Git diff for SBOMs—compare CycloneDX, SPDX, and Syft documents, detect tampering, and gate CI.

파일 탐색기

  • .gitignore
  • .goreleaser.yml
  • .release-please-manifest.json
  • ACTION.md
  • action.yml
  • BETA.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • go.mod
  • go.sum
  • install.sh
  • LICENSE
  • Makefile
  • README.md
  • release-please-config.json
  • SECURITY.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git diff

설명 보기 ▼

Show changes to tracked files.

git diff

Show unstaged changes:

git diff HEAD

Show all uncommitted changes (including staged ones):

git diff --staged

Show only staged (added, but not yet committed) changes:

🔍

go build

설명 보기 ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

go install

설명 보기 ▼

Compile and install packages named by the import paths.

go install

Compile and install the current package:

go install {{path/to/package}}

Compile and install a specific local package:

go install {{golang.org/x/tools/gopls}}@{{latest}}

Install the latest version of a program, ignoring `go.mod` in the current directory:

🔍

go test

설명 보기 ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

🔍

syft

설명 보기 ▼

컨테이너 이미지와 파일 시스템에서 SBOM(Software Bill of Materials)을 생성.
더 많은 정보: <https://oss.anchore.com/docs/reference/syft/cli/>.

syft {{image:tag}}

컨테이너 이미지에서 SBOM 생성:

syft {{path/to/directory}}

로컬 디렉터리에서 SBOM 생성:

syft {{path/to/archive.tar}}

컨테이너 아카이브 파일에서 SBOM 생성:

🔍

apk

설명 보기 ▼

Alpine Linux 패키지 관리 도구.
더 많은 정보: <https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper>.

apk upgrade {{[-U|--update-cache]}}

모든 원격 저장소에서 저장소 색인 업데이트:

apk update

새 패키지 설치:

apk add {{package}}

패키지 제거:

🔍

apt install

설명 보기 ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

apt

설명 보기 ▼

Debian 기반 배포판을 위한 패키지 관리 도구.
Ubuntu 16.04 이후 버전에서 대화형 사용 시 `apt-get`의 권장 대체 도구.
다른 패키지 관리자의 동등한 명령을 보려면 <https://wiki.archlinux.org/title/Pacman/Rosetta>.
더 많은 정보: <https://manned.org/apt.8>.

sudo apt update

사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt` 명령어 실행 전 권장):

apt search {{package}}

주어진 패키지 검색:

apt list {{package}}

패키지 정보 표시:

🔍

dnf install

설명 보기 ▼

Install packages on Red Hat-based distributions.

sudo dnf {{[in|install]}} {{package1 package2 ...}}

Install packages by name:

sudo dnf {{[in|install]}} {{path/to/file}}

Install a package from a local file:

sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}

Install a package from the internet:

🔍

xattr

설명 보기 ▼

확장 파일 시스템 속성을 다루는 유틸리티.
더 많은 정보: <https://keith.github.io/xcode-man-pages/xattr.1.html>.

xattr -l {{file}}

주어진 파일의 key:value 확장 속성 나열:

xattr -w {{attribute_key}} {{attribute_value}} {{file}}

주어진 파일에 속성 작성:

xattr -d {{com.apple.quarantine}} {{file}}

주어진 파일에서 속성 삭제:

🔍

replace

설명 보기 ▼

파일을 대체합니다.
관련 항목: `robocopy`, `move`, `del`.
더 많은 정보: <https://learn.microsoft.com/windows-server/administration/windows-commands/replace>.

replace {{path\to\file_or_directory}} {{path\to\destination_directory}}

대상 파일을 소스 디렉토리의 파일로 대체:

replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /a

기존 파일을 바꾸는 대신 대상 디렉토리에 파일을 추가:

replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /p

여러 파일을 대상 디렉토리에 복사하고 대체하기 전에 대화형으로 확인:

// repository documentation