-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathveto.py
More file actions
28 lines (17 loc) · 831 Bytes
/
veto.py
File metadata and controls
28 lines (17 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from .._models import BaseModel
from .organizations.kernel_controls_action import KernelControlsAction
__all__ = ["Veto", "Exec"]
class Exec(BaseModel):
"""exec controls executable blocking"""
action: Optional[KernelControlsAction] = None
"""action specifies what action kernel-level controls take on policy violations"""
denylist: Optional[List[str]] = None
"""denylist is the list of executable paths or names to block"""
enabled: Optional[bool] = None
"""enabled controls whether executable blocking is active"""
class Veto(BaseModel):
"""Veto controls kernel-level blocking mechanisms"""
exec: Optional[Exec] = None
"""exec controls executable blocking"""