# SeccompProfileV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/SeccompProfileV1.cs)

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.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class SeccompProfileV1
{
    // ...
}
```

## Constructors

- [SeccompProfileV1](/reference/api/csharp/aspire.hosting.kubernetes/seccompprofilev1/constructors.md#constructor)

## Properties

- [LocalhostProfile](/reference/api/csharp/aspire.hosting.kubernetes/seccompprofilev1/properties.md#localhostprofile) : `string` `get; set` -- 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.
- [Type](/reference/api/csharp/aspire.hosting.kubernetes/seccompprofilev1/properties.md#type) : `string` `get; set` -- 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.
