Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
13d36e0
genpolicy: add support for BUILD_TYPE=debug
danmihai1 Mar 23, 2025
35b5c90
protocols: Fix rust linter error with rust v1.84
ms-mahuber Feb 14, 2025
0f964ea
agent: config: Remove supports_seccomp
ms-mahuber Feb 14, 2025
bb21d50
genpolicy: Fix rust v1.84 linter issue
ms-mahuber Feb 14, 2025
4819d3a
protocols: use protobuf = "=3.7.1"
danmihai1 Mar 25, 2025
a40dcd0
genpolicy: fix settings file after rebase merge
danmihai1 Mar 27, 2025
f1f017d
genpolicy: re-enable allow_storages
danmihai1 Mar 27, 2025
fe4e232
Copy snapshotter bits from cc-msft-prototypes
sprt Nov 29, 2023
51d1eff
runtime: enable configuring IGVM images
dallasd1 Jul 10, 2023
d9c229c
runtime: add SNP related changes for CLH (#33)
dallasd1 Jul 10, 2023
19cb39b
Update clh-snp config and remove extra rootfs package definition (#38)
dallasd1 Jul 26, 2023
aaf9f33
Enable SEV SNP and setting for host_data for CH-SNP (#42)
ms-mahuber Aug 22, 2023
95881e1
Re-enable seccomp in clh-snp config (#46)
dallasd1 Sep 1, 2023
76909be
Always assign 10 PCI segments and modify IGVM config validation (#92)
ms-mahuber Oct 3, 2023
99cc937
agent: Make /dev/sev-guest available to containers (#36)
sprt Jul 20, 2023
f6adb43
osbuilder: add support to build enable dm-verity protected images (#55)
dallasd1 Sep 18, 2023
6b6c8b4
image: don't insert the DAX header (#56)
danmihai1 Sep 18, 2023
92e27ef
rootfs: delete some of the mariner packages (#45)
danmihai1 Aug 31, 2023
62302af
rootfs: add back bash to mariner's rootfs (#47)
danmihai1 Sep 14, 2023
762d0de
rootfs: add back coreutils to mariner's image (#48)
danmihai1 Sep 14, 2023
fa1b140
rootfs: add back ps to mariner's rootfs (#49)
danmihai1 Sep 14, 2023
a359e6d
runtime: agent: SNP HOST_DATA set-up (#43)
danmihai1 Aug 23, 2023
ee1e0ec
runtime: agent: validate policy contents (#50)
danmihai1 Sep 14, 2023
f520afb
runtime: use 10 PCI segments for the Guest (#59)
danmihai1 Sep 19, 2023
096565c
osbuilder: install device-mapper and enable udevd
wedsonaf Mar 16, 2023
c9f1d5d
runtime: add support for layer-src-prefix option
wedsonaf Jun 16, 2023
8f1d98f
runtime: Allow disabling FS sharing for CLH/SNP
sprt Dec 1, 2023
52d5a9a
runtime: Properly specify static resource mgmt
sprt Dec 1, 2023
7be7c09
runtime: configuration-clh-snp.toml.in adjustments
danmihai1 Mar 31, 2025
b2644a7
runtime: decode layer string
wedsonaf Jun 18, 2023
db68b98
osbuilder: include tardev components to rootfs
wedsonaf Feb 20, 2023
c1d06cb
agent: use dm-verity if io.katacontainers.fs-opt.root-hash is set
wedsonaf Jun 13, 2023
a392769
agent: change to layer directory when mounting overlays
wedsonaf Jun 16, 2023
c3c2c4f
agent: add some context to device mapper error
wedsonaf Jun 23, 2023
3f8fba9
agent: unmount storages in reverse order
wedsonaf Jun 23, 2023
0fa55d9
runtime: accomodate slower than expected boot (#44)
danmihai1 Aug 31, 2023
73f991a
Append systemd kernel cmdline params for initrd (#39)
dallasd1 Jul 26, 2023
b097485
tools: keep package zstd-libs in the UVM (#104)
dallasd1 Nov 6, 2023
81d5162
runtime: enable confidential guest by default in non-SNP config (#112)
arc9693 Nov 29, 2023
64c4b7c
Add snapshotter build files to .gitignore
sprt Dec 4, 2023
7346b07
config: Add SEV SNP config
sprt Dec 5, 2023
7639011
agent: skip mount options that start with "io.katacontainers."
sprt Dec 6, 2023
6315444
Add src/agent/samples/policy/test-input/ to .gitignore
sprt Dec 6, 2023
4973a6e
genpolicy: Readd agent type definitions (#118)
Redent0r Dec 6, 2023
b84e733
utarfs: implement the enumeration of xattrs (#119)
wedsonaf Dec 6, 2023
5de51be
runtime: use shared dir to mount rootfs
wedsonaf Jun 16, 2023
b52879b
Add dev directories to .gitignore
sprt Dec 15, 2023
380fc7a
runtime: Resolve high UVM memory footprint
sprt Dec 15, 2023
444ec5a
Revert "runtime: use 10 PCI segments for the Guest (#59)"
sprt Dec 18, 2023
9cd659c
tools: Allow setting policy rego file via environment variable (#123)
ms-mahuber Dec 20, 2023
bdc8eb2
Add kata metapackage change
miz060 Dec 18, 2023
220138a
Add new varaiable to differntiate vanilla and coco
miz060 Dec 18, 2023
4ed8c67
Update package name
miz060 Dec 20, 2023
f8799dc
Revert "Add kata metapackage change"
miz060 Dec 21, 2023
d8e5dcb
Microsoft mandatory file
microsoft-github-policy-service[bot] Dec 19, 2023
7ce0b69
Create pull_request_template.md
ms-mahuber Dec 20, 2023
d42f44b
Update pull_request_template.md
ms-mahuber Dec 22, 2023
6a78033
Update pull_request_template.md
ms-mahuber Dec 22, 2023
76b7515
Update pull_request_template.md
ms-mahuber Dec 22, 2023
6192e57
agent: improve policy handling of CopyFile
danmihai1 Dec 28, 2023
87da2fb
genpolicy: block some symlink create requests
danmihai1 Dec 28, 2023
937d205
genpolicy: validate create sandbox storages
danmihai1 Jan 4, 2024
0c107a0
runtime: disable protection check
sprt Jan 12, 2024
ed83ea3
osbuilder: use Azure Linux PMC UVM build meta-package
miz060 Jan 17, 2024
43c4219
github: copy CODEOWNERS from cc-msft-prototypes
christopherco Jan 27, 2023
27f3aad
genpolicy: "cargo fmt -- --check" clean-up
danmihai1 Jan 13, 2024
ed91f2b
tools: genpolicy static checks
danmihai1 Jan 12, 2024
cab7e8a
github: add `upstream-missing` label to PR checklist
sprt Jan 19, 2024
29e5a1a
tarfs: keep ctx->pos up to date because dir_emit uses it
wedsonaf Aug 12, 2023
eba5c42
tarfs: don't fail if at least one directory was emitted
wedsonaf Aug 12, 2023
830c164
tarfs: unlock the page (and set the error flag) on failure to map it
wedsonaf Aug 14, 2023
199510f
tarfs: don't issue bdev read requests for bad offsets
wedsonaf Aug 17, 2023
b69611c
tarfs: call iget_failed on failure post iget_locked
wedsonaf Aug 17, 2023
39049b1
tarfs: ensure the underlying block device can hold at least one block
wedsonaf Sep 7, 2023
a594b05
tarfs: use GPF_NOFS when allocating memory on a mounted fs
wedsonaf Feb 9, 2024
def0612
runtime: fix error when using the debug console
danmihai1 Sep 1, 2022
5f06eb5
config: don't hardcode confidential_guest=true for clh
sprt Jan 23, 2024
1119ffa
runtime: make sev_snp_guest default to false
sprt Feb 12, 2024
9712568
tarindex: Add special symlink name handling
miz060 Mar 5, 2024
da73ea4
genpolicy: support non-default namespace name
danmihai1 Jan 31, 2024
d6e2812
agent: add SMB storage handler
arc9693 Apr 8, 2024
09a9455
runtime: add support to handle SMB mounts
arc9693 Mar 26, 2024
81f3a15
genpolicy: disable containerd pull on Windows
Redent0r Apr 12, 2024
4a8f0e9
genpolicy: pass PVCs to get_mount_and_storage()
sprt Apr 12, 2024
dbeed84
genpolicy: support arbitrary resources with -c
sprt Apr 15, 2024
60dbed2
genpolicy: support PVCs with -c flag
sprt Apr 16, 2024
f5b71cb
genpolicy: add support for cc-managed-csi
sprt Apr 12, 2024
efc61c5
genpolicy: add --version flag
Redent0r Apr 15, 2024
aecf443
genpolicy: add support for cc-local-csi
sprt Apr 17, 2024
362090c
genpolicy: add support for cc-azurefile-csi driver
arc9693 Apr 24, 2024
68c1788
genpolicy: bump release version
Redent0r Apr 26, 2024
0c67648
runtime: clh: clean-up merge from main
danmihai1 Apr 19, 2024
8015456
runtime: agent: use PCI segments 1+ for blk devices
danmihai1 Apr 23, 2024
a633c5e
samples: pod with ~70 image layers
danmihai1 Apr 25, 2024
ea8d07a
rootfs: Stop building and shipping OPA
fidencio Apr 25, 2024
3aef9f1
ci: add check for policy samples
sprt Apr 29, 2024
40e1cf3
tools: Add initial igvm-builder and node-builder/azure-linux scripting
ms-mahuber Mar 5, 2024
903ccd3
clh: update sev snp param
Redent0r May 28, 2024
8825b43
genpolicy: add persistent storage support for stateful sets
arc9693 Jun 3, 2024
6b18343
tools: Improve igvm-builder and node-builder/azure-linux scripting
ms-mahuber Jun 4, 2024
5779160
tardev: update tardev-snapshotter.service
miz060 Jul 15, 2024
efdb5dc
docs: add guide to install new CSI drivers
sprt Aug 6, 2024
3145ce5
chore: bump release version
Redent0r Aug 20, 2024
52d1f12
tools: Add package-tools-install functionality
ms-mahuber Jul 24, 2024
b49b66d
tools: Enable setting IGVM SVN
ms-mahuber Aug 22, 2024
c933f70
node-builder: introduce BUILD_TYPE variable
sprt Jul 26, 2024
c681ce3
node-builder: introduce SHIM_REDEPLOY_CONFIG
sprt Aug 29, 2024
23ae374
node-builder: Use img for Pod Sandboxing
ms-mahuber Aug 30, 2024
6eed7dd
docs: Add more limitations for AKS-CC storage
sprt Oct 1, 2024
1f25252
node-builder: Adapt README instructions
ms-mahuber Oct 11, 2024
8ed1547
pr_template: remove genpolicy windows support check from PR template
Redent0r Oct 9, 2024
a2edf02
build: Fix RPM build fail due to AGENT_POLICY
Oct 7, 2024
ced83dc
tools: Adapt AGENT_POLICY_FILE path
ms-mahuber Oct 30, 2024
81edab5
genpolicy: support dynamic SMB storage class options
arc9693 Oct 22, 2024
3cec5bf
node-builder: Use Azure Linux 3 as default path
ms-mahuber Nov 13, 2024
2f9d86d
node-builder: Deploy-only for AzL3 VMs
ms-mahuber Nov 20, 2024
5b27b5d
runtime: Fix make test for virtcontainers.
Sumynwa Dec 2, 2024
8483aba
ci: install libdevmapper for agent static checks
Sumynwa Dec 2, 2024
54d134a
build(deps): bump rustix in sources
dependabot[bot] Dec 5, 2024
7160393
ci: Fix make static-checks
Sumynwa Dec 3, 2024
dadcbb5
runtime: relax timeout for CreateVM + BootVM in CLH
Sumynwa Dec 11, 2024
7e6250a
chore: bump release version
Redent0r Dec 12, 2024
eeaea90
node-builder: Minor updates to README.md
ms-mahuber Dec 13, 2024
4d59357
genpolicy: block self symlink paths for copyFile requests
Redent0r Dec 13, 2024
afcbfa2
chore: bump release version
Redent0r Dec 16, 2024
167e465
genpolicy: use process inputs for allow_process()
danmihai1 Dec 18, 2024
e962b88
policy: add constants to rules.rego
Redent0r Nov 27, 2024
b789826
genpolicy: validate process for commands from settings
danmihai1 Dec 18, 2024
12e1610
genpolicy: validate probe process fields
danmihai1 Dec 18, 2024
f4d1c8f
genpolicy: use the tarindex fork
danmihai1 Mar 27, 2025
4589f86
genpolicy: validate probe process fields
danmihai1 Dec 18, 2024
fe49940
genpolicy: add exec container_id comment
danmihai1 Dec 18, 2024
7764d6d
genpolicy: tighter symlink source rules
danmihai1 Dec 18, 2024
6743ffc
chore: bump genpolicy bump genpolicy version
Redent0r Dec 19, 2024
0b3c9a7
image: 2Mb default image size alignment
danmihai1 Dec 27, 2024
bfbce4f
runtime: virtio-blk root device for AKS-Kata
danmihai1 Dec 27, 2024
8c8e9ac
runtime: improved memory overhead management
danmihai1 Dec 31, 2024
bc083e4
runtime: Remove unused VMM options for mem alloc
ms-mahuber Jan 3, 2025
339bc04
policy: strengthen bundle id validation
Redent0r Jan 6, 2025
f3d8d63
chore: bump genpolicy version
Redent0r Jan 7, 2025
86c69f3
runtime: Allocate default workload vcpus
ms-mahuber Jan 2, 2025
355c9b0
policy: improve pod namespace validation
Redent0r Nov 27, 2024
c743d42
agent: avoid "unknown mount flag" for tardev
danmihai1 Jan 14, 2025
6f5cbcc
overlay: use nix::mount for OverlayFS to overcome mounting limitations
miz060 Jan 14, 2025
7feeed9
genpolicy: fix validation of env variables sourced from metadata.name…
Redent0r Jan 15, 2025
ee652a8
rootfs: delete systemd units/files from rootfs.sh
danmihai1 Jan 13, 2025
4fb40c1
config: add hypervisor_loglevel
Camelron Jan 28, 2025
4db6b1c
rootfs: don't delete systemd-tmpfiles-cleanup.timer
danmihai1 Jan 27, 2025
45584b7
rootfs: add support for deleting *.timer files
danmihai1 Jan 27, 2025
4b81c42
rootfs: delete the remaining systemd-tmpfiles files
danmihai1 Jan 27, 2025
756cd34
rootfs: add support for deleting *.path files
danmihai1 Jan 27, 2025
07a07e2
rootfs: delete systemd-ask-password
danmihai1 Jan 27, 2025
f06400e
rootfs: delete bins with same name as unit files
danmihai1 Jan 27, 2025
20ec7b3
rootfs: delete systemd-pcr*
danmihai1 Jan 27, 2025
749a301
rootfs: delete more systemd journal files
danmihai1 Jan 27, 2025
de6e108
rootfs: delete blk-availability and blkdeactivate
danmihai1 Jan 25, 2025
57b3108
rootfs: delete systemd-boot-update.service
danmihai1 Jan 25, 2025
dc54b42
rootfs: delete systemd-logind.service
danmihai1 Jan 28, 2025
da8d771
rootfs: delete systemd-pstore.service
danmihai1 Jan 25, 2025
e6a1c97
rootfs: delete systemd-sysupdate
danmihai1 Jan 25, 2025
bd8e435
rootfs: delete systemd-network-generator files
danmihai1 Jan 25, 2025
32eca74
rootfs: delete systemd-tpm2-setup
danmihai1 Jan 25, 2025
c72224a
rootfs: add support for deleting *.mount files
danmihai1 Jan 28, 2025
b2f8b04
rootfs: delete sys-fs-fuse-connections.mount
danmihai1 Jan 25, 2025
48e3762
rootfs: delete sys-kernel-config.mount
danmihai1 Jan 25, 2025
5c9b7a5
rootfs: delete more systemd-update-utmp files
danmihai1 Jan 25, 2025
208ffb0
rootfs: delete systemd-vconsole-setup
danmihai1 Jan 25, 2025
574d043
node-builder: Updates to README.md
ms-mahuber Feb 10, 2025
3084e58
genpolicy: add crate-scoped integration test
burgerdev Jul 22, 2024
37c3e8c
genpolicy: fix env variables that are always allowed
Redent0r Feb 24, 2025
91ce836
genpolicy: update settings for testing
Redent0r Feb 24, 2025
e59593f
tests: fix regex used in settings for testing genpolicy
Redent0r Feb 27, 2025
7d97fc1
genpolicy: Validate storage source
sprt Feb 24, 2025
56364f5
genpolicy: Validate mount source
sprt Feb 25, 2025
4844461
genpolicy: Validate storage fstype
sprt Feb 25, 2025
42fd172
agent: add support for PolicyCreateContainerRequest
Redent0r Feb 10, 2025
c016b0d
policy: add environment variable map
Redent0r Feb 10, 2025
3b3d2e2
policy: mark old way of validating args as deprecated
Redent0r Feb 27, 2025
fd551c8
policy: add arg validation by substitution
Redent0r Feb 10, 2025
3f89b53
node-builder: Fix SHIM_USE_DEBUG_CONFIG behavior
sprt Feb 24, 2025
afe6ed9
policy: fix regression in rules.rego
Redent0r Mar 4, 2025
eae8051
agent: move policy module into separate crate
3u13r Dec 3, 2024
692b3cc
policy: use agent policy crate in genpolicy test
3u13r Dec 3, 2024
15bc059
policy: enable unit tests for copyfile
Redent0r Mar 11, 2025
3ec6100
gitignore: Remove vendor folder
ms-mahuber Mar 12, 2025
684ef38
genpolicy: Introduce UpdateRoutesRequest rules in genpolicy-settings
Camelron Mar 10, 2025
03a1b09
genpolicy: Introduce UpdateInterfaceRequest rules in genpolicy-settings
Camelron Mar 14, 2025
1a99895
policy: add tests for createContainerRequest
Redent0r Mar 10, 2025
c2cfe52
policy: validate pod generated name
Redent0r Mar 10, 2025
c378a2d
samples: copy samples from msft-main
danmihai1 Mar 27, 2025
403c5e9
genpolicy: fix the sample/test scripts
danmihai1 Mar 27, 2025
6445e01
protocols: re-generate Cargo.lock
danmihai1 Mar 31, 2025
b900faf
samples: update sample yaml files after rebase
danmihai1 Mar 31, 2025
9d9c386
samples: write test settings to /tmp
Redent0r Apr 3, 2025
381d7cd
Update instructions for azure-file csi driver
arc9693 May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# By default, all files require review by members of these teams
* @microsoft/kata-cc-devs @microsoft/kata-cc-admins

# Modifications to this file require admin approval
/.github/CODEOWNERS @microsoft/kata-cc-admins
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
###### Merge Checklist <!-- REQUIRED -->
- [ ] Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
- [ ] Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
- [ ] Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
- [ ] The `upstream/missing` label (or `upstream/not-needed`) has been set on the PR.

###### Summary <!-- REQUIRED -->
<!-- Quick explanation of WHAT changed and WHY. -->

###### Test Methodology
<!-- How was this test validated? i.e. local build, pipeline build etc. -->
49 changes: 49 additions & 0 deletions .github/workflows/check-samples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright (c) Microsoft Corporation.

name: Check policy samples

on:
pull_request:

jobs:
check-policy-samples:
runs-on: ubuntu-latest

steps:

- name: Check out code
uses: actions/checkout@v4

- name: Install yq
env:
INSTALL_IN_GOPATH: false
run: |
./ci/install_yq.sh

- name: Install Rust
run: |
./tests/install_rust.sh
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH

- name: Install protobuf-compiler
run: |
sudo apt-get -y install protobuf-compiler

- name: Configure containerd
run: |
sudo containerd config default | sudo dd of=/etc/containerd/config.toml
sudo systemctl restart containerd
sudo systemctl is-active containerd

- name: Update policy samples
working-directory: ./src/tools/genpolicy
run: |
python3 update_policy_samples.py

- name: Show diff
run: |
git diff

- name: Check policy samples
run: |
git diff-files --exit-code
100 changes: 95 additions & 5 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,101 @@ jobs:
fi

build-checks:
needs: skipper
if: ${{ needs.skipper.outputs.skip_static != 'yes' }}
uses: ./.github/workflows/build-checks.yaml
with:
instance: ubuntu-22.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
component:
- agent
- dragonball
- runtime
- runtime-rs
- agent-ctl
- kata-ctl
- log-parser-rs
- runk
- trace-forwarder
- genpolicy
command:
- "make vendor"
- "make check"
- "make test"
- "sudo -E PATH=\"$PATH\" make test"
include:
- component: agent
component-path: src/agent
- component: dragonball
component-path: src/dragonball
- component: runtime
component-path: src/runtime
- component: runtime-rs
component-path: src/runtime-rs
- component: agent-ctl
component-path: src/tools/agent-ctl
- component: kata-ctl
component-path: src/tools/kata-ctl
- component: log-parser-rs
component-path: src/tools/log-parser-rs
- component: runk
component-path: src/tools/runk
- component: trace-forwarder
component-path: src/tools/trace-forwarder
- install-libseccomp: no
- component: agent
install-libseccomp: yes
- component: runk
install-libseccomp: yes
- component: genpolicy
component-path: src/tools/genpolicy
steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install yq
run: |
./ci/install_yq.sh
env:
INSTALL_IN_GOPATH: false
- name: Install golang
if: ${{ matrix.component == 'runtime' }}
run: |
./tests/install_go.sh -f -p
echo "/usr/local/go/bin" >> $GITHUB_PATH
- name: Install rust
if: ${{ matrix.component != 'runtime' }}
run: |
./tests/install_rust.sh
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
- name: Install protobuf-compiler
if: ${{ matrix.command != 'make vendor' && (matrix.component == 'agent' || matrix.component == 'genpolicy' || matrix.component == 'agent-ctl') }}
run: sudo apt-get -y install protobuf-compiler
- name: Install musl-tools
if: ${{ matrix.component != 'runtime' }}
run: sudo apt-get -y install musl-tools
- name: Install devicemapper
if: ${{ (matrix.command == 'make check' || matrix.command == 'make test') && matrix.component == 'agent' }}
run: sudo apt-get -y install libdevmapper-dev
- name: Install libseccomp
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.install-libseccomp == 'yes' }}
run: |
libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX)
gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)
./ci/install_libseccomp.sh "${libseccomp_install_dir}" "${gperf_install_dir}"
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
echo "LIBSECCOMP_LINK_TYPE=static" >> $GITHUB_ENV
echo "LIBSECCOMP_LIB_PATH=${libseccomp_install_dir}/lib" >> $GITHUB_ENV
- name: Setup XDG_RUNTIME_DIR for the `runtime` tests
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.component == 'runtime' }}
run: |
XDG_RUNTIME_DIR=$(mktemp -d /tmp/kata-tests-$USER.XXX | tee >(xargs chmod 0700))
echo "XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR}" >> $GITHUB_ENV
- name: Running `${{ matrix.command }}` for ${{ matrix.component }}
run: |
cd ${{ matrix.component-path }}
${{ matrix.command }}
env:
RUST_BACKTRACE: "1"

build-checks-depending-on-kvm:
runs-on: ubuntu-22.04
Expand Down
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,23 @@ src/agent/protocols/src/*.rs
build
src/tools/log-parser/kata-log-parser
tools/packaging/static-build/agent/install_libseccomp.sh

# Microsoft-specific
.cargo/
src/agent/samples/policy/test-input/
src/tarfs/**/*.cmd
src/tarfs/**/*.ko
src/tarfs/**/*.mod
src/tarfs/**/*.mod.c
src/tarfs/**/*.o
src/tarfs/**/modules.order
src/tarfs/**/Module.symvers
src/tarfs-cvm/
tools/osbuilder/kata-containers-igvm.img
tools/osbuilder/kata-containers-igvm-debug.img
tools/osbuilder/igvm-debug-measurement.cose
tools/osbuilder/igvm-measurement.cose
tools/osbuilder/root_hash.txt
tools/osbuilder/igvm.log
tools/osbuilder/kata-opa.service
tools/osbuilder/rootfs-builder/opa/
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ COMPONENTS += agent
COMPONENTS += dragonball
COMPONENTS += runtime
COMPONENTS += runtime-rs
COMPONENTS += tarfs
COMPONENTS += tardev-snapshotter
COMPONENTS += overlay
COMPONENTS += utarfs

# List of available tools
TOOLS =
Expand Down
41 changes: 41 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.9 BLOCK -->

## Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin).

If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below.

## Reporting Security Issues

**Please do not report security vulnerabilities through public GitHub issues.**

Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).

If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).

Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:

* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue

This information will help us triage your report more quickly.

If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs.

## Preferred Languages

We prefer all communications to be in English.

## Policy

Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd).

<!-- END MICROSOFT SECURITY.MD BLOCK -->
Loading
Loading