Giter Site home page Giter Site logo

Comments (11)

szczepix avatar szczepix commented on May 21, 2024 1

All sensitive data renamed with suffix SECURE_

Body:

{
  "push": {
    "changes": [
      {
        "forced": false,
        "old": null,
        "links": {
          "commits": {
            "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits?include=SECURE_HASH"
          }
        },
        "truncated": false,
        "created": true,
        "new": {
        "closed": false,
          "name": "version/10.64.3",
          "links": {
            "commits": {
              "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits/version/10.64.3"
            },
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/refs/tags/version/10.64.3"
            },
            "html": {
              "href": "https://bitbucket.org/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits/tag/version/10.64.3"
            }
          },
          "tagger": null,
          "date": null,
          "message": null,
          "type": "tag",
          "target": {
            "hash": "SECURE_HASH",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/commit/SECURE_HASH"
              },
              "html": {
                "href": "https://bitbucket.org/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits/SECURE_HASH"
              }
            },
            "author": {
              "raw": "SECURE_USER_DATA <SECURE_EMAIL>",
              "type": "author",
              "user": {
                "username": "SECURE_USER_NAME",
                "display_name": "SECURE_USER_DATA",
                "account_id": "5a8569af9d25142e30bd1805",
                "links": {
                  "self": {
                    "href": "https://api.bitbucket.org/2.0/users/SECURE_USER_NAME"
                  },
                  "html": {
                    "href": "https://bitbucket.org/SECURE_USER_NAME/"
                  },
                  "avatar": {
                    "href": "https://bitbucket.org/account/SECURE_USER_NAME/avatar/"
                  }
                },
                "type": "user",
                "uuid": "{56744df4-d552-4b48-b207-b57f9215b2a3}"
              }
            },
            "summary": {
              "raw": "Merged in release/10.64.3 (pull request #138)\n\nUpdate version - Hotfix 10.64.3\n\nApproved-by: SECURE_USER_NAME <SECURE_EMAIL>\n",
              "markup": "markdown",
              "html": "<p>Merged in release/10.64.3 (pull request #138)</p>\n<p>Update version - Hotfix 10.64.3</p>\n<p>Approved-by: SECURE_USER_NAME <a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#112;&#97;&#119;&#101;&#108;&#46;&#116;&#114;&#101;&#108;&#97;&#64;&#112;&#99;&#103;&#97;&#99;&#97;&#100;&#101;&#109;&#105;&#97;&#46;&#112;&#108;\">&#112;&#97;&#119;&#101;&#108;&#46;&#116;&#114;&#101;&#108;&#97;&#64;&#112;&#99;&#103;&#97;&#99;&#97;&#100;&#101;&#109;&#105;&#97;&#46;&#112;&#108;</a></p>",
              "type": "rendered"
            },
            "parents": [
              {
                "type": "commit",
                "hash": "99a1d08545d4dd63a846b0afb698784dcc470cb8",
                "links": {
                  "self": {
                    "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/commit/99a1d08545d4dd63a846b0afb698784dcc470cb8"
                  },
                  "html": {
                    "href": "https://bitbucket.org/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits/99a1d08545d4dd63a846b0afb698784dcc470cb8"
                  }
                }
              },
              {
                "type": "commit",
                "hash": "b6fc53d01caabe5a74e8fc87f0666bec2a336ba0",
                "links": {
                  "self": {
                    "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME/commit/b6fc53d01caabe5a74e8fc87f0666bec2a336ba0"
                  },
                  "html": {
                    "href": "https://bitbucket.org/SECURE_TEAM_NAME/SECURE_REPO_NAME/commits/b6fc53d01caabe5a74e8fc87f0666bec2a336ba0"
                  }
                }
              }
            ],
            "date": "2018-08-22T13:22:38+00:00",
            "message": "Merged in release/10.64.3 (pull request #138)\n\nUpdate version - Hotfix 10.64.3\n\nApproved-by: SECURE_USER_NAME <SECURE_EMAIL>\n",
            "type": "commit"
          }
        }
      }
    ]
  },
  "repository": {
    "scm": "git",
    "website": "",
    "name": "SECURE_REPO_NAME",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/repositories/SECURE_TEAM_NAME/SECURE_REPO_NAME"
      },
      "html": {
        "href": "https://bitbucket.org/SECURE_TEAM_NAME/SECURE_REPO_NAME"
      },
      "avatar": {
        "href": "https://bytebucket.org/ravatar/%7B61675ebc-89c5-4b34-93a1-97117ba6a68b%7D?ts=1498977"
      }
    },
    "project": {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/teams/SECURE_TEAM_NAME/projects/SECURE_REPO_NAME"
        },
        "html": {
          "href": "https://bitbucket.org/account/user/SECURE_TEAM_NAME/projects/SECURE_REPO_NAME"
        },
        "avatar": {
          "href": "https://bitbucket.org/account/user/SECURE_TEAM_NAME/projects/SECURE_REPO_NAME/avatar/32"
        }
      },
      "type": "project",
      "uuid": "{69b595c5-4b81-409f-96af-ebfc96263ccc}",
      "key": "SECURE_REPO_NAME",
      "name": "SECURE_REPO_NAME"
    },
    "full_name": "SECURE_TEAM_NAME/SECURE_REPO_NAME",
    "owner": {
      "username": "SECURE_TEAM_NAME",
      "type": "team",
      "display_name": "SECURE_COMPANY_NAME",
      "uuid": "{9d48c3e9-01c9-4034-b898-754089aa32f0}",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/teams/SECURE_TEAM_NAME"
        },
        "html": {
          "href": "https://bitbucket.org/SECURE_TEAM_NAME/"
        },
        "avatar": {
          "href": "https://bitbucket.org/account/SECURE_TEAM_NAME/avatar/"
        }
      }
    },
    "type": "repository",
    "is_private": true,
    "uuid": "{61675ebc-89c5-4b34-93a1-97117ba6a68b}"
  },
  "actor": {
    "username": "SECURE_USER_NAME",
    "display_name": "SECURE_USER_DATA",
    "account_id": "5a8569af9d25142e30bd1805",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/users/SECURE_USER_NAME"
      },
      "html": {
        "href": "https://bitbucket.org/SECURE_USER_NAME/"
      },
      "avatar": {
        "href": "https://bitbucket.org/account/SECURE_USER_NAME/avatar/"
      }
    },
    "type": "user",
    "uuid": "{56744df4-d552-4b48-b207-b57f9215b2a3}"
  }
}

Request response:

image

from skyhook.

Jawnnypoo avatar Jawnnypoo commented on May 21, 2024 1

Done!

from skyhook.

Puyodead1 avatar Puyodead1 commented on May 21, 2024

Same!

from skyhook.

dscalzi avatar dscalzi commented on May 21, 2024

Please attach the webhook body. I've asked for this several times.

from skyhook.

szczepix avatar szczepix commented on May 21, 2024

It exist only for:

image

Webhook body:

image

from skyhook.

dscalzi avatar dscalzi commented on May 21, 2024

That is not the webhook body.

Go to your repo on bitbucket.

  • Go to settings.
  • Go to Webhooks (under Workflow).
  • Find the webhook you setup through skyhook.
  • Click View requests.
  • Find the one with the error.
  • Click View Details
  • Scroll down and click Show request body
  • Copy that and paste it here.

Should look like this in the end.

image

from skyhook.

dscalzi avatar dscalzi commented on May 21, 2024

I will take a look into this shortly.

from skyhook.

szczepix avatar szczepix commented on May 21, 2024

Thank you 👍

from skyhook.

szczepix avatar szczepix commented on May 21, 2024

Requests statuses:

image

from skyhook.

dscalzi avatar dscalzi commented on May 21, 2024

This appears to be an issue whenever a tag is pushed to the repository. I will start working on a solution.

from skyhook.

dscalzi avatar dscalzi commented on May 21, 2024

This will be fixed next time @Jawnnypoo syncs the site. The payload will look like this:

image

from skyhook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.