@@ -44,9 +44,21 @@ use CapabilityRisk::{High, Low, Medium};
4444pub const CAPABILITY_CATEGORIES : & [ CapabilityCategory ] = & [
4545 cat ( "network.client" , High , "Make outbound network connections" ) ,
4646 cat ( "network.server" , High , "Serve requests on a bound address" ) ,
47- cat ( "network.public_ingress" , High , "Accept traffic from a public ingress" ) ,
48- cat ( "network.egress" , High , "Send traffic to an external destination" ) ,
49- cat ( "filesystem.read" , Medium , "Read files or directory contents" ) ,
47+ cat (
48+ "network.public_ingress" ,
49+ High ,
50+ "Accept traffic from a public ingress" ,
51+ ) ,
52+ cat (
53+ "network.egress" ,
54+ High ,
55+ "Send traffic to an external destination" ,
56+ ) ,
57+ cat (
58+ "filesystem.read" ,
59+ Medium ,
60+ "Read files or directory contents" ,
61+ ) ,
5062 cat ( "filesystem.write" , High , "Create, modify, or delete files" ) ,
5163 cat ( "object_storage.read" , Medium , "Read from object storage" ) ,
5264 cat ( "object_storage.write" , High , "Write to object storage" ) ,
@@ -65,9 +77,21 @@ pub const CAPABILITY_CATEGORIES: &[CapabilityCategory] = &[
6577 cat ( "compute.regex" , Low , "Evaluate a regular expression" ) ,
6678 cat ( "process.args" , Low , "Read process arguments" ) ,
6779 cat ( "process.spawn" , High , "Spawn or exec subprocesses" ) ,
68- cat ( "identity.assume" , High , "Assume an identity / capability role" ) ,
69- cat ( "identity.grant" , High , "Grant an identity / capability role" ) ,
70- cat ( "runtime.native" , High , "Cross an unclassified native boundary" ) ,
80+ cat (
81+ "identity.assume" ,
82+ High ,
83+ "Assume an identity / capability role" ,
84+ ) ,
85+ cat (
86+ "identity.grant" ,
87+ High ,
88+ "Grant an identity / capability role" ,
89+ ) ,
90+ cat (
91+ "runtime.native" ,
92+ High ,
93+ "Cross an unclassified native boundary" ,
94+ ) ,
7195 cat ( "runtime.unsafe" , High , "Execute unsafe runtime code" ) ,
7296 cat ( "build.execute" , High , "Execute code at build time" ) ,
7397 cat ( "build.network" , High , "Access the network at build time" ) ,
0 commit comments