l3montree-dev / l3montree-dev/devguard

Outgoing webhook reduce sent data

Open
#1,898 0 comments 0 reactions 1 assignee View on GitHub

@Dboy0ZDev is already working on this.

Since Aug 19, 2026.

component/devguard-api
Dominant language
Go
Stars
161
Forks
43
Avg merge
1d 8h
Merged PRs (30d)
37

Description

Currently the org object includes data like contactPhoneNumber and numberOfEmployees that are not necessary to sent - reducing the information amount to the necessary details about org, project, asset - most relevant is the payload and only the details to associate with the asset.

{
    "organization": {
        "id": "3b69f4d3-77a9-4bed-9cfe-4ce4f97f3d0b",
        "name": "Test",
        "contactPhoneNumber": null,
        "numberOfEmployees": null,
        "country": null,
        "industry": null,
        "criticalInfrastructure": false,
        "iso27001": false,
        "nist": false,
        "grundschutz": false,
        "slug": "test",
        "description": "",
        "isPublic": false,
        "language": ""
    },
    "project": {
        "id": "a14524da-2fbb-44cc-a81d-d776ccafd06a",
        "name": "Test-Webhook",
        "description": "",
        "slug": "test-webhook",
        "isPublic": false,
        "type": "default",
        "repositoryId": null,
        "repositoryName": null
    },
    "asset": {
        "id": "146a3e8b-c2b0-4a1d-aa78-39c6a18aca18",
        "name": "Test-Webhook-4",
        "slug": "test-webhook-4",
        "description": "",
        "projectId": "a14524da-2fbb-44cc-a81d-d776ccafd06a",
        "availabilityRequirement": "medium",
        "integrityRequirement": "medium",
        "confidentialityRequirement": "medium",
        "reachableFromInternet": false,
        "repositoryId": null,
        "repositoryName": null,
        "lastSecretScan": null,
        "lastSastScan": null,
        "lastScaScan": null,
        "lastIacScan": null,
        "lastContainerScan": null,
        "lastDastScan": null,
        "signingPubKey": null,
        "enableTicketRange": false,
        "cvssAutomaticTicketThreshold": null,
        "riskAutomaticTicketThreshold": null
    },
    "assetVersion": {
        "name": "main",
        "assetId": "146a3e8b-c2b0-4a1d-aa78-39c6a18aca18",
        "slug": "main",
        "defaultBranch": true,
        "type": "branch",
        "signingPubKey": null,
        "metadata": null
    },
    "payload": {
        "bomFormat": "CycloneDX",
        "specVersion": "1.6",
        "version": 1,
        "metadata": {
...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.