# UpsertLicensePolicyRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**repository_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Scope the policy to a specific repository. Null for global policies. | [optional]
**name** | **String** | Human-readable policy name. | 
**description** | Option<**String**> | Optional description of the policy intent. | [optional]
**allowed_licenses** | **Vec<String>** | SPDX license identifiers that are explicitly permitted. | 
**denied_licenses** | **Vec<String>** | SPDX license identifiers that are explicitly prohibited. | 
**allow_unknown** | **bool** | Whether to permit artifacts with unrecognised licenses. | 
**action** | **String** | Enforcement action when a violation is detected (e.g. warn, block). | 
**is_enabled** | **bool** | Whether the policy is currently active. | 

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


