Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66675

Disable masking of usernames for GitHub App secret

      The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials. The issue was solved for "Username Password" credentials by adding "Treat username as secret" which is absent for "GitHub App" credentials type.

      The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.
       
       
      As "App ID" is a number, it masks all such numbers in the console output:

          [JENKINS-66675] Disable masking of usernames for GitHub App secret

          Iegor created issue -
          Iegor made changes -
          Description Original: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials.

          The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.|https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]

           

          As "App ID" is a number, it masks all such numbers in the console output.
          New: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials.

          The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.|https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]

           

          As "App ID" is a number, it masks all such numbers in the console output.

           
          Iegor made changes -
          Attachment New: Screenshot 2021-09-20 113316-1.png [ 56323 ]
          Iegor made changes -
          Description Original: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials.

          The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.|https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]

           

          As "App ID" is a number, it masks all such numbers in the console output.

           
          New: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials.

          The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.|https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]

           

          As "App ID" is a number, it masks all such numbers in the console output.

          !Screenshot 2021-09-20 113316.png|width=617,height=92!
          Iegor made changes -
          Attachment Original: Screenshot 2021-09-20 113316-1.png [ 56323 ]
          Iegor made changes -
          Description Original: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials.

          The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.|https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]

           

          As "App ID" is a number, it masks all such numbers in the console output.

          !Screenshot 2021-09-20 113316.png|width=617,height=92!
          New: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials. The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

           

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.
          |https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]As "App ID" is a number, it masks all such numbers in the console output:

          !Screenshot 2021-09-20 113316.png|width=617,height=92!
          Iegor made changes -
          Description Original: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials. The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

           

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.
          |https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline]As "App ID" is a number, it masks all such numbers in the console output:

          !Screenshot 2021-09-20 113316.png|width=617,height=92!
          New: The issue is the same/similar to JENKINS-44860 with masking "App ID" (which treats as username) of "GitHub App" type credentials. The issue was solved for "Username Password" credentials by adding "_Treat username as secret_" which is absent for "GitHub App" credentials type.

          The following doc was used to get App ID and token: [https://www.jenkins.io/blog/2020/04/16/github-app-authentication/#how-do-i-get-an-api-token-in-my-pipeline.
           
           
          As "App ID" is a number, it masks all such numbers in the console output:
          !Screenshot 2021-09-20 113316.png|width=617,height=92!
          Alberto Gallardo made changes -
          Component/s New: github-branch-source-plugin [ 20858 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-72412 [ JENKINS-72412 ]
          Jesse Glick made changes -
          Summary Original: Disable masking of usernames for Git App secret New: Disable masking of usernames for GitHub App secret
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]

            jglick Jesse Glick
            iegorlopatin Iegor
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: