Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph.security.contentManagement
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents a connected source-control repository that delivers security content as code in the caller's tenant.
Inherits from microsoft.graph.entity.
Methods
| Method | Return type | Description |
|---|---|---|
| List repositories | microsoft.graph.security.contentManagement.contentManagementRepository collection | List connected repositories. |
| Get contentManagementRepository | microsoft.graph.security.contentManagement.contentManagementRepository | Get one connection by its identifier. |
| contentManagementRepository: connect | microsoft.graph.security.contentManagement.contentManagementRepository | Connect a source-control repository. |
| contentManagementRepository: discoverAvailableRepositories | microsoft.graph.security.contentManagement.discoveredRepository collection | Discover up to 200 accessible candidate repositories. |
| contentManagementRepository: modify | microsoft.graph.security.contentManagement.contentManagementRepository | Modify a connected repository. |
| contentManagementRepository: disconnect | microsoft.graph.security.contentManagement.repositoryDisconnectResult | Disconnect and report any cleanup warning. |
Properties
| Property | Type | Description |
|---|---|---|
| contentTypes | microsoft.graph.security.contentManagement.repositoryContentType collection | Content kinds this repository is configured to deploy. The possible values are: customDetection, unknownFutureValue, defenderWorkbook. Use the Prefer: include-unknown-enum-members request header to get defenderWorkbook. |
| deploymentIdentity | microsoft.graph.security.contentManagement.deploymentIdentity | Bring-your-own deployment identity used for deployment. Optional; when omitted the platform-managed identity path is used. Provide a service principal or a managed identity. Immutable after connecting. |
| deploymentScope | microsoft.graph.security.contentManagement.deploymentScope | Optional Azure deployment scope, immutable after connecting the repository. |
| description | String | Optional description of the connection. |
| displayName | String | Human-readable name of the connection. Supports $filter (eq, ne) and $orderby. |
| id | String | A unique identifier for this resource. Inherited from entity. Supports $filter (eq, ne). |
| lastDeploymentInfo | microsoft.graph.security.contentManagement.repositoryDeploymentInfo | Status of the most recent deployment from this repository. Read-only. |
| pullRequest | microsoft.graph.security.contentManagement.repositoryPullRequest | The setup pull request opened for this connection, when applicable. Read-only. |
| repoType | microsoft.graph.security.contentManagement.repositoryType | Source-control provider for this repository. Immutable after connecting. Supports $filter (eq, ne). The possible values are: gitHub, azureDevOps, unknownFutureValue. |
| servicePrincipal | microsoft.graph.security.contentManagement.repositoryServicePrincipal | Service principal / managed identity used by the connection. Read-only. |
| sourceLocation | microsoft.graph.security.contentManagement.repositorySettings | Location of the source repository (URL and branch). |
| systemData | microsoft.graph.security.contentManagement.systemData | Creation and last modification provenance. Read-only. |
| workloadIdentityFederation | microsoft.graph.security.contentManagement.repositoryWorkloadIdentityFederation | Workload identity federation details for the connection, when configured. Read-only. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.security.contentManagement.contentManagementRepository",
"id": "String (identifier)",
"displayName": "String",
"description": "String",
"repoType": "String",
"contentTypes": [
"String"
],
"sourceLocation": {
"@odata.type": "microsoft.graph.security.contentManagement.repositorySettings"
},
"deploymentScope": {
"@odata.type": "microsoft.graph.security.contentManagement.deploymentScope"
},
"deploymentIdentity": {
"@odata.type": "microsoft.graph.security.contentManagement.deploymentIdentity"
},
"servicePrincipal": {
"@odata.type": "microsoft.graph.security.contentManagement.repositoryServicePrincipal"
},
"workloadIdentityFederation": {
"@odata.type": "microsoft.graph.security.contentManagement.repositoryWorkloadIdentityFederation"
},
"lastDeploymentInfo": {
"@odata.type": "microsoft.graph.security.contentManagement.repositoryDeploymentInfo"
},
"pullRequest": {
"@odata.type": "microsoft.graph.security.contentManagement.repositoryPullRequest"
},
"systemData": {
"@odata.type": "microsoft.graph.security.contentManagement.systemData"
}
}