SeccompProfileV1
Class sealed net10.0
Represents the seccomp profile configuration for a Kubernetes resource. Seccomp profiles provide additional security by filtering system calls that interact with the Linux kernel, allowing finer control over the system-level operations accessible to the container or process.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class SeccompProfileV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesLocalhostProfileget; setstring Gets or sets the path to a local file that defines the seccomp profile to be applied. This property is used to specify a custom seccomp profile from the local file system.
Typeget; setstring Gets or sets the type of the seccomp profile. This property specifies the seccomp profile type, which determines the level of security applied to the container process. Acceptable values for this property may include "RuntimeDefault", "Localhost", or other predefined types depending on the configuration.