Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
8681920
genpolicy: support arbitrary resources with -c
sprt Apr 15, 2024
7951001
genpolicy: support PVCs with -c flag
sprt Apr 16, 2024
9c43bcf
genpolicy: add support for cc-managed-csi
sprt Apr 12, 2024
c2fd4d6
update_policy_samples: run in parallel
sprt Apr 15, 2024
7c0206c
samples: update genpolicy samples
sprt Apr 16, 2024
a2f0902
Merge pull request #174 from sprt/genpolicy-azuredisk
sprt Apr 17, 2024
8717d39
genpolicy: add support for cc-local-csi
sprt Apr 17, 2024
5650c9b
samples: update genpolicy samples
sprt Apr 17, 2024
a067b65
genpolicy: add --version flag
Redent0r Apr 15, 2024
b0a632c
Merge pull request #176 from microsoft/saulparedes/add_version_flag
Redent0r Apr 17, 2024
fa6b734
agent: shutdown vm on exit when agent is used as init process
alex-matei Apr 8, 2024
f467a04
Merge pull request #178 from sprt/gp-azurelocal
sprt Apr 18, 2024
9e73d0b
Merge pull request #179 from microsoft/saulparedes/sync_downstream
Redent0r Apr 18, 2024
a2207a3
genpolicy: add missing cache improvements
Redent0r Apr 22, 2024
b4c814c
Merge pull request #181 from microsoft/saulparedes/add_missing_cache_…
Redent0r Apr 23, 2024
0cb2324
genpolicy: add support for cc-azurefile-csi driver
arc9693 Apr 24, 2024
b5d68be
genpolicy: update policy samples
arc9693 Apr 24, 2024
3d38906
Merge pull request #180 from microsoft/archana1/azurefile-genpolicy
sprt Apr 24, 2024
823dcd2
Revert "runtime: agent: use up to 10 PCI segments (#61)"
danmihai1 Apr 23, 2024
6a47c86
runtime: clh: clean-up merge from main
danmihai1 Apr 19, 2024
c905577
runtime: agent: use PCI segments 1+ for blk devices
danmihai1 Apr 23, 2024
bbc7b97
samples: pod with ~70 image layers
danmihai1 Apr 25, 2024
38ebfa9
agent: lock anyhow version to 1.0.58
danmihai1 Apr 22, 2024
11f78ae
agent: use regorus instead of opa
danmihai1 Apr 22, 2024
0e79eef
genpolicy: bump release version
Redent0r Apr 26, 2024
7ea417b
Merge pull request #185 from microsoft/saulparedes/bump_release_version
Redent0r Apr 26, 2024
cbb60ff
genpolicy: update sample location
Redent0r Apr 30, 2024
99f1e83
Merge pull request #183 from microsoft/danmihai1/hotplug7
Redent0r Apr 30, 2024
02f03b3
Merge pull request #184 from microsoft/danmihai1/msft-regorus
Redent0r Apr 30, 2024
8df0459
rootfs: Stop building and shipping OPA
fidencio Apr 25, 2024
304d016
clh: initialize clh pid before using it
alex-matei Mar 6, 2024
5e0ec90
clh: isClhRunning waits for full timeout when clh exits
alex-matei Apr 8, 2024
9b43ba8
genpolicy: update sample
Redent0r Apr 30, 2024
597200d
Merge pull request #182 from microsoft/saulparedes/wait_for_clh
Redent0r May 2, 2024
dda2c28
Merge pull request #187 from microsoft/saulparedes/remove_opa2
Redent0r May 2, 2024
915a8fc
kata: Remove Issue - PR dependency
zvonkok Apr 17, 2024
9ce3226
Merge pull request #189 from microsoft/sprt/remove-fixes-check
sprt May 7, 2024
949f8c8
ci: add check for policy samples
sprt Apr 29, 2024
a004ef0
Merge pull request #186 from microsoft/sprt/workflow-update-samples
sprt May 7, 2024
af24293
samples: don't execute genpolicy as root user
danmihai1 May 8, 2024
82b870c
Merge pull request #190 from microsoft/danmihai1/change-containerd-so…
danmihai1 May 10, 2024
662c86e
genpolicy: update sample
Redent0r Apr 15, 2024
5f2bb03
genpolicy: update docker sample annotation
Redent0r May 10, 2024
f08c115
samples: save decoded policy text
danmihai1 May 10, 2024
6ca5489
samples: update policy for new container image
danmihai1 May 10, 2024
4b2ede3
Merge pull request #177 from microsoft/saulparedes/update_samples
Redent0r May 13, 2024
d056343
tools: Add initial igvm-builder and node-builder/azure-linux scripting
ms-mahuber Mar 5, 2024
a8a038f
Merge pull request #188 from microsoft/mahuber/reproducible-builds
ms-mahuber May 13, 2024
dde0102
Merge pull request #191 from microsoft/danmihai1/save-policy-file
danmihai1 May 16, 2024
ff4c1ec
samples: use the dm-verity root hash cache
danmihai1 May 16, 2024
a1c3b2c
Merge pull request #192 from microsoft/danmihai1/genpolicy-cache
danmihai1 May 20, 2024
57ab374
clh: update sev snp param
Redent0r May 28, 2024
dde443c
Merge pull request #197 from microsoft/saulparedes/update_sev_snp_param
Redent0r Jun 5, 2024
6e5f3a0
genpolicy: add persistent storage support for stateful sets
arc9693 Jun 3, 2024
b41e55e
genpolicy: update policy samples
arc9693 Jun 6, 2024
2d32df1
Merge pull request #199 from microsoft/archana1/add-pv-ss
arc9693 Jun 6, 2024
980fb87
samples: add common images category
Redent0r Jun 11, 2024
70d6bf6
genpolicy: update policy samples
ms-mahuber Jun 12, 2024
12d4585
Merge pull request #200 from microsoft/saulparedes/test_common_images
Redent0r Jun 13, 2024
a4b4ca2
Merge pull request #201 from microsoft/mahuber/samples
ms-mahuber Jun 13, 2024
39ab779
rootfs: Install Rust only when necessary
ms-mahuber Jun 13, 2024
9c9199e
build: allow rootfs builds w/o git or VERSION file deps
ms-mahuber Jun 11, 2024
f2f5d12
samples: change job.yaml to an mcr container image
danmihai1 Jul 11, 2024
cd7c5fa
Merge pull request #207 from microsoft/danmihai1/job-mcr
danmihai1 Jul 12, 2024
1590a72
samples: introduce incomplete_init category
ms-mahuber Jul 12, 2024
cc23bdb
Merge pull request #208 from microsoft/mahuber/incomplete_init
ms-mahuber Jul 12, 2024
e7cb0d1
Merge pull request #206 from microsoft/mahuber/cherry-pick-upstr
ms-mahuber Jul 15, 2024
2f672a1
tools: Improve igvm-builder and node-builder/azure-linux scripting
ms-mahuber Jun 4, 2024
dd57910
Merge pull request #204 from microsoft/mahuber/uvm-spec-build-pr
ms-mahuber Jul 15, 2024
e6e6d34
tardev: update tardev-snapshotter.service
miz060 Jul 15, 2024
1276d40
Merge pull request #209 from microsoft/mitchzhu/tardev-service
miz060 Jul 16, 2024
16523e2
samples: reduce dependencies to docker hub
ms-mahuber Jul 16, 2024
386cab0
Merge pull request #210 from microsoft/tests/img-pull-src
ms-mahuber Jul 17, 2024
51b2fd2
agent: fix the AllowRequestsFailingPolicy functionality
danmihai1 Jul 30, 2024
80f047c
Merge pull request #212 from microsoft/danmihai1/allow-failing-msft
danmihai1 Aug 5, 2024
78e4962
docs: add guide to install new CSI drivers
sprt Aug 6, 2024
4c89a18
Merge pull request #214 from microsoft/sprt/csi-instructions
sprt Aug 12, 2024
39e99dc
genpolicy: add support for cron jobs
Redent0r Aug 12, 2024
71db681
samples: update image references
ms-mahuber Aug 15, 2024
c323d8a
Merge pull request #217 from microsoft/tests/img-updates
ms-mahuber Aug 16, 2024
910bcd6
Merge pull request #218 from microsoft/saulparedes/support_cron_job
Redent0r Aug 16, 2024
bee89de
genpolicy: reject untested CreateContainer field values
danmihai1 Jun 14, 2024
8ad67ac
samples: update annotations
Redent0r Aug 16, 2024
89a658a
Merge pull request #219 from microsoft/saulparedes/reject_untested
Redent0r Aug 16, 2024
32ac40e
samples: update ubuntu sample to use 18.04
Redent0r Aug 20, 2024
f17f994
Merge pull request #220 from microsoft/saulparedes/update_ubuntu_sample
Redent0r Aug 20, 2024
24423ed
chore: bump release version
Redent0r Aug 20, 2024
dc2d4de
Merge pull request #221 from microsoft/saulparedes/bump_release_version
Redent0r Aug 20, 2024
db1787f
tools: Add package-tools-install functionality
ms-mahuber Jul 24, 2024
f20dbb9
Merge pull request #215 from microsoft/mahuber/uvm-tools-pkg
ms-mahuber Aug 20, 2024
08333aa
tools: Enable setting IGVM SVN
ms-mahuber Aug 22, 2024
d375a69
Merge pull request #224 from microsoft/mahuber/igvm-svn
ms-mahuber Aug 23, 2024
52a47b6
node-builder: introduce BUILD_TYPE variable
sprt Jul 26, 2024
74cc478
Merge pull request #216 from microsoft/sprt/build-type-var
sprt Aug 26, 2024
7e00f3d
samples: update samples
Redent0r Aug 29, 2024
888127e
Merge pull request #225 from microsoft/saulparedes/update_samples
Redent0r Aug 29, 2024
a53640c
node-builder: introduce SHIM_REDEPLOY_CONFIG
sprt Aug 29, 2024
75a11db
Merge pull request #226 from microsoft/sprt/build-recipe-bugbash
sprt Aug 30, 2024
f801232
samples: update node_ds.yaml
danmihai1 Sep 13, 2024
0635146
Merge pull request #232 from microsoft/danmihai1/update-sample
danmihai1 Sep 13, 2024
2866533
genpolicy: get UID from PodSecurityContext
danmihai1 Sep 10, 2024
2c07620
samples: add pod runAsUser for more resorce types
danmihai1 Sep 13, 2024
d31f369
node-builder: Use img for Pod Sandboxing
ms-mahuber Aug 30, 2024
f0c9bb2
Merge pull request #227 from microsoft/mahuber/kata-img
ms-mahuber Sep 16, 2024
4af3cd0
genpolicy: update Dockerfile
danmihai1 Sep 16, 2024
d2b13a8
Merge pull request #234 from microsoft/danmihai1/genpolicy-docker-build
danmihai1 Sep 17, 2024
3a0ca4e
Merge pull request #233 from microsoft/danmihai1/uid-for-more-resourc…
danmihai1 Sep 17, 2024
09833d8
samples: update deployment-azure-vote samples
Redent0r Oct 3, 2024
2689def
Merge pull request #237 from microsoft/saulparedes/update_azure_vote_…
Redent0r Oct 3, 2024
11b4c67
docs: Add more limitations for AKS-CC storage
sprt Oct 1, 2024
f6e3225
Merge pull request #235 from microsoft/sprt/storage-limitation
sprt Oct 3, 2024
31edf1f
pr_template: remove genpolicy windows support check from PR template
Redent0r Oct 9, 2024
c7698d7
node-builder: Adapt README instructions
ms-mahuber Oct 11, 2024
6e8cc06
Merge pull request #240 from microsoft/mahuber/build/readme-fixes
ms-mahuber Oct 11, 2024
0d4524c
Merge pull request #239 from microsoft/saulparedes/remove_windows_fro…
Redent0r Oct 14, 2024
b6872b4
samples: update samples that use mcr.microsoft.com/azurelinux/base/nginx
Redent0r Oct 17, 2024
49a401d
Merge pull request #241 from microsoft/saulparedes/update_samples
Redent0r Oct 17, 2024
224ee62
samples: update confpods acr used for test images
Redent0r Oct 9, 2024
3e16849
Merge pull request #238 from microsoft/saulparedes/update_confpods_acr
sprt Oct 18, 2024
7df996b
Revert "rootfs-builder: only look for AGENT_POLICY_FILE if AGENT_POLI…
ms-mahuber Oct 21, 2024
a22230b
rootfs: Allow AGENT_POLICY_FILE te be an absolute
Redent0r Jul 18, 2024
bcf32a6
build: Fix RPM build fail due to AGENT_POLICY
Oct 7, 2024
dd6342c
genpolicy: support dynamic SMB storage class options
arc9693 Oct 22, 2024
e3d3e04
samples: update samples
Redent0r Oct 23, 2024
4db5ba4
tools: Adapt AGENT_POLICY_FILE path
ms-mahuber Oct 30, 2024
eeeea27
Merge pull request #244 from microsoft/mahuber/upstr-agent-policy-patch
ms-mahuber Oct 30, 2024
396e0d2
Merge pull request #245 from microsoft/archana1/azfile-genpolicy-refa…
arc9693 Nov 6, 2024
715cae1
samples: remove nginxhttps sample
Redent0r Nov 8, 2024
52039cb
Merge pull request #247 from microsoft/saulparedes/remove_nginxhttps_…
Redent0r Nov 11, 2024
ebc5f5f
samples: update samples that use mcr.microsoft.com/azurelinux/base/nginx
Redent0r Nov 14, 2024
bc69b85
Merge pull request #250 from microsoft/saulparedes/update_samples
Redent0r Nov 14, 2024
4037aaf
node-builder: Use Azure Linux 3 as default path
ms-mahuber Nov 13, 2024
ea98d07
Merge pull request #251 from microsoft/mahuber/azl3-readme
ms-mahuber Nov 15, 2024
5092c13
libs:logging: Fix logger
jodh-intel Dec 1, 2023
f6359a7
Merge pull request #248 from microsoft/danmihai1/fix-debug-level-log
danmihai1 Nov 18, 2024
65ddfde
runtime: fix comment to accurately reflect clh behavior
Camelron Nov 14, 2024
56c5fa1
Merge pull request #249 from microsoft/cameronbaird/bump-clh-debug-ou…
Camelron Nov 18, 2024
8fd0c5e
runtime: Fix make test for virtcontainers.
Sumynwa Dec 2, 2024
488604f
ci: install libdevmapper for agent static checks
Sumynwa Dec 2, 2024
663a003
runtime: skip logging some of the dial errors
danmihai1 Nov 14, 2024
eef2029
node-builder: Deploy-only for AzL3 VMs
ms-mahuber Nov 20, 2024
f76a06a
Merge pull request #254 from microsoft/mahuber/build-readme-split
ms-mahuber Dec 3, 2024
c4ff507
Merge pull request #257 from microsoft/sumsharma/fix_runtime_make_test
Sumynwa Dec 3, 2024
33d2030
Merge pull request #258 from microsoft/sumsharma/fix_agent_build_checks
Sumynwa Dec 3, 2024
81f0963
ci: Fix make static-checks
Sumynwa Dec 3, 2024
cc96a4a
Merge pull request #253 from microsoft/danmihai1/dial-errors
danmihai1 Dec 4, 2024
8cb5160
policy: ignore optional metadata uid field
Redent0r Dec 2, 2024
c180917
Merge pull request #260 from microsoft/saulparedes/ignore_metadata_uid
Redent0r Dec 4, 2024
ff1fafe
build(deps): bump rustix from 0.37.3 to 0.37.27 in /src/agent
dependabot[bot] Dec 5, 2024
dcf0c36
Merge pull request #246 from microsoft/dependabot/cargo/src/agent/rus…
Sumynwa Dec 5, 2024
56fbf84
build(deps): bump google.golang.org/protobuf in /src/runtime
dependabot[bot] Dec 5, 2024
4a2b5c9
build(deps): bump dependency golang.org/x/net to v0.23.0
Sumynwa Dec 5, 2024
e9d2c45
build(deps): bump rustix in sources
dependabot[bot] Dec 5, 2024
0126498
Merge pull request #243 from microsoft/dependabot/go_modules/src/runt…
Sumynwa Dec 6, 2024
d4eae11
Merge pull request #261 from microsoft/sumsharma/update-golang-net
Sumynwa Dec 6, 2024
b30ded8
Merge pull request #262 from microsoft/dependabot/cargo/src/tardev-sn…
Sumynwa Dec 6, 2024
5dd3198
Merge pull request #259 from microsoft/sumsharma/pr_fix_static_checks
Sumynwa Dec 7, 2024
efe9610
samples: replicate nginx image to private ACR
Redent0r Dec 9, 2024
1f4360c
Merge pull request #264 from microsoft/saulparedes/move_sample
Redent0r Dec 9, 2024
e8c73d9
agent: fix failing tests in device module.
Sumynwa Dec 10, 2024
9224163
runtime: Set memory config shared=false when shared_fs=None in CLH
Sumynwa Dec 10, 2024
7d087d0
runtime: relax timeout for CreateVM + BootVM in CLH
Sumynwa Dec 11, 2024
7e24498
Merge pull request #265 from microsoft/sumsharma/upstr-clh-memory-shared
Sumynwa Dec 12, 2024
24cb087
Merge pull request #268 from microsoft/sumsharma/min_timeout
Sumynwa Dec 12, 2024
3d6665c
Merge pull request #266 from microsoft/sumsharma/pr_agent_make
Sumynwa Dec 12, 2024
3eea977
chore: bump release version
Redent0r Dec 12, 2024
06ea445
Merge pull request #269 from microsoft/saulparedes/bump_genpolicy_ver…
Redent0r Dec 12, 2024
eac886e
genpolicy: block self symlink paths for copyFile requests
Redent0r Dec 13, 2024
7ac0143
node-builder: Minor updates to README.md
ms-mahuber Dec 13, 2024
e536fdb
Merge pull request #270 from microsoft/mahuber/build-readme-amend
ms-mahuber Dec 13, 2024
876c404
samples: update samples
Redent0r Dec 16, 2024
9451ebe
Merge pull request #271 from microsoft/saulparedes/block_self_directo…
Redent0r Dec 16, 2024
16e98ac
chore: bump release version
Redent0r Dec 16, 2024
02842bc
Merge pull request #274 from microsoft/saulparedes/bump_genpolicy_ver…
Redent0r Dec 16, 2024
4e09c54
agent: log policy prints for allow=false
danmihai1 Dec 18, 2024
c5c1d9f
genpolicy: use process inputs for allow_process()
danmihai1 Dec 18, 2024
224583b
policy: add constants to rules.rego
Redent0r Nov 27, 2024
b00768c
genpolicy: validate process for commands from settings
danmihai1 Dec 18, 2024
0188da0
genpolicy: validate probe process fields
danmihai1 Dec 18, 2024
e3cb8f6
genpolicy: add exec container_id comment
danmihai1 Dec 18, 2024
79fc221
samples: update policy samples
danmihai1 Dec 18, 2024
879fe80
genpolicy: tighter symlink source rules
danmihai1 Dec 18, 2024
c355600
samples: update policy samples
danmihai1 Dec 18, 2024
a68453b
Merge pull request #278 from microsoft/danmihai1/symlink
Redent0r Dec 19, 2024
9d5c3b6
chore: bump genpolicy bump genpolicy version
Redent0r Dec 19, 2024
609a121
Merge pull request #279 from microsoft/saulparedes/bump_genpolicy_ver…
Redent0r Dec 19, 2024
dae5080
image: 2Mb default image size alignment
danmihai1 Dec 27, 2024
f0b8fc8
runtime: virtio-blk root device for AKS-Kata
danmihai1 Dec 27, 2024
79931de
Merge pull request #280 from microsoft/danmihai1/no-pmem
danmihai1 Dec 31, 2024
c7b8ee9
runtime: improved memory overhead management
danmihai1 Dec 31, 2024
32dde44
Merge pull request #281 from microsoft/danmihai1/memory-overhead-clarity
danmihai1 Jan 2, 2025
3f0be3b
runtime: Remove unused VMM options for mem alloc
ms-mahuber Jan 3, 2025
3627201
Merge pull request #283 from microsoft/mahuber/conf-static
ms-mahuber Jan 4, 2025
35d4c62
runtime: Allocate default workload vcpus
ms-mahuber Jan 2, 2025
45ef622
policy: strengthen bundle id validation
Redent0r Jan 6, 2025
724d9bf
samples: update samples
Redent0r Jan 7, 2025
f703a57
Merge pull request #285 from microsoft/saulparedes/strengthen_bundle_…
Redent0r Jan 7, 2025
1e1138b
chore: bump genpolicy version
Redent0r Jan 7, 2025
89277cc
Merge pull request #287 from microsoft/saulparedes/bump_genpolicy_ver…
Redent0r Jan 7, 2025
b372dae
samples: use 256Mi pod memory limit
danmihai1 Jan 8, 2025
8245ef2
Merge pull request #288 from microsoft/danmihai1/samples-memory
danmihai1 Jan 8, 2025
81d6b29
genpolicy: Add state
Redent0r Dec 16, 2024
2dad9b8
genpolicy: validate container sandbox names
Redent0r Oct 7, 2024
121bf84
genpolicy: align state path getter and setter
3u13r Dec 2, 2024
3f03df0
policy: add constants to rules.rego
Redent0r Nov 27, 2024
5986f3a
policy: improve pod namespace validation
Redent0r Nov 27, 2024
4d36cde
samples: update samples
Redent0r Dec 16, 2024
4d3b496
Merge pull request #282 from microsoft/mahuber/pod-vcpus
ms-mahuber Jan 9, 2025
a96690c
Merge pull request #273 from microsoft/saulparedes/add_state_to_policy
Redent0r Jan 10, 2025
c2f84a6
agent: add back rego error logs
Redent0r Jan 14, 2025
6e3fd0a
Merge pull request #292 from microsoft/saulparedes/add_back_rego_erro…
Redent0r Jan 14, 2025
aa4424f
overlay: use nix::mount for OverlayFS to overcome mounting limitations
miz060 Jan 14, 2025
1a0437e
agent: avoid "unknown mount flag" for tardev
danmihai1 Jan 14, 2025
c67ddaf
runtime: skip empty Guest console output lines
danmihai1 Jan 15, 2025
8e9238e
Merge pull request #294 from microsoft/danmihai1/unknown-mount-flag
danmihai1 Jan 16, 2025
807a588
Merge pull request #296 from microsoft/danmihai1/empty-log-lines
danmihai1 Jan 16, 2025
02add57
Merge pull request #293 from microsoft/mitchzhu/switch_overlay_mount
miz060 Jan 16, 2025
577b154
genpolicy: fix validation of env variables sourced from metadata.name…
Redent0r Jan 15, 2025
a3f20ba
samples: update samples
Redent0r Jan 17, 2025
6058c26
Merge pull request #295 from microsoft/saulparedes/validate_namespace…
Redent0r Jan 17, 2025
0abe848
rootfs: delete systemd units/files from rootfs.sh
danmihai1 Jan 13, 2025
ef42ccf
rootfs: print the path to files being deleted
danmihai1 Jan 13, 2025
a3ca1b5
rootfs: delete links to deleted files
danmihai1 Jan 13, 2025
1ee72c4
Merge pull request #299 from microsoft/danmihai1/delete-from-rootfs
danmihai1 Jan 27, 2025
ec6a5bd
rootfs: don't delete systemd-tmpfiles-cleanup.timer
danmihai1 Jan 27, 2025
4dbd897
rootfs: add support for deleting *.timer files
danmihai1 Jan 27, 2025
863fc7d
rootfs: delete the remaining systemd-tmpfiles files
danmihai1 Jan 27, 2025
2d356c9
rootfs: add support for deleting *.path files
danmihai1 Jan 27, 2025
2abbdc1
rootfs: delete systemd-ask-password
danmihai1 Jan 27, 2025
7514602
rootfs: delete bins with same name as unit files
danmihai1 Jan 27, 2025
35747f4
rootfs: delete systemd-pcr*
danmihai1 Jan 27, 2025
430cdd0
rootfs: delete more systemd journal files
danmihai1 Jan 27, 2025
e7c69f7
rootfs: delete blk-availability and blkdeactivate
danmihai1 Jan 25, 2025
a392bc5
rootfs: delete systemd-boot-update.service
danmihai1 Jan 25, 2025
e490d16
rootfs: delete systemd-logind.service
danmihai1 Jan 28, 2025
5313640
rootfs: delete systemd-pstore.service
danmihai1 Jan 25, 2025
0c24daf
rootfs: delete systemd-sysupdate
danmihai1 Jan 25, 2025
6899c72
rootfs: delete systemd-network-generator files
danmihai1 Jan 25, 2025
66b4b83
rootfs: delete systemd-tpm2-setup
danmihai1 Jan 25, 2025
17606b9
rootfs: add support for deleting *.mount files
danmihai1 Jan 28, 2025
2cf8e50
rootfs: delete sys-fs-fuse-connections.mount
danmihai1 Jan 25, 2025
21b5ce3
rootfs: delete sys-kernel-config.mount
danmihai1 Jan 25, 2025
c74beee
rootfs: delete more systemd-update-utmp files
danmihai1 Jan 25, 2025
6b55a48
rootfs: delete systemd-vconsole-setup
danmihai1 Jan 25, 2025
b785624
config: add hypervisor_loglevel
Camelron Jan 28, 2025
c57a2d1
Merge pull request #303 from microsoft/cameronbaird/hyp-loglevel
Camelron Feb 3, 2025
08aceb8
Merge pull request #302 from microsoft/danmihai1/systemd-delete
ms-mahuber Feb 5, 2025
30edf2e
cli: Initial version of Solar tool
jiria Feb 5, 2025
bb98784
Handle multi member gzip archives
jiria Feb 10, 2025
ec31631
Fix warnings
jiria Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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. -->
1 change: 1 addition & 0 deletions .github/workflows/build-kata-static-tarball-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- cloud-hypervisor
- cloud-hypervisor-glibc
- firecracker
- genpolicy
- kata-ctl
- kernel
- kernel-sev
Expand Down
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
11 changes: 0 additions & 11 deletions .github/workflows/commit-message-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,6 @@ jobs:
error: 'Body line too long (max 150)'
post_error: ${{ env.error_msg }}

- name: Check Fixes
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') && ( success() || failure() ) }}
uses: tim-actions/commit-message-checker-with-regex@v0.3.1
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
pattern: '\s*Fixes\s*:?\s*(#\d+|github\.com\/kata-containers\/[a-z-.]*#\d+)|^\s*release\s*:'
flags: 'i'
error: 'No "Fixes" found'
post_error: ${{ env.error_msg }}
one_pass_all_pass: 'true'

- name: Check Subsystem
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') && ( success() || failure() ) }}
uses: tim-actions/commit-message-checker-with-regex@v0.3.1
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/move-issues-to-in-progress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ jobs:
grep -v "^\#" |\
cut -d';' -f3 || true)

# PR doesn't have any linked issues
# (it should, but maybe a new user forgot to add a "Fixes: #XXX" commit).
# PR doesn't have any linked issues, handle it only if it exists
[ -z "$linked_issue_urls" ] && {
echo "::error::No linked issues for PR $pr"
exit 1
echo "::warning::No linked issues for PR $pr"
exit 0
}

project_name="Issue backlog"
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- log-parser-rs
- runk
- trace-forwarder
- genpolicy
command:
- "make vendor"
- "make check"
Expand Down Expand Up @@ -78,6 +79,8 @@ jobs:
install-libseccomp: yes
- component: runk
install-libseccomp: yes
- component: genpolicy
component-path: src/tools/genpolicy
steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand All @@ -98,9 +101,15 @@ jobs:
run: |
./tests/install_rust.sh
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
- name: Install protobuf-compiler
if: ${{ matrix.command == 'make check' && matrix.component == 'genpolicy' }}
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: |
Expand Down
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,24 @@ src/agent/protocols/src/*.rs
!src/agent/protocols/src/lib.rs
build
src/tools/log-parser/kata-log-parser

# Microsoft-specific
.cargo/
vendor/
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 -->
4 changes: 3 additions & 1 deletion docs/how-to/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@
- [How to run Kata Containers with AMD SEV-SNP](how-to-run-kata-containers-with-SNP-VMs.md)
- [How to use EROFS to build rootfs in Kata Containers](how-to-use-erofs-build-rootfs.md)
- [How to run Kata Containers with kinds of Block Volumes](how-to-run-kata-containers-with-kinds-of-Block-Volumes.md)
- [How to use the Kata Agent Policy](how-to-use-the-kata-agent-policy.md)

## Confidential Containers
- [How to use the Kata Agent Policy](how-to-use-the-kata-agent-policy.md)
Loading
Loading