mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
feat(github): scan issue & pr titles (#1899)
This commit is contained in:
parent
0e6e1dce3f
commit
1f502fd42c
1 changed files with 2 additions and 2 deletions
|
@ -1356,7 +1356,7 @@ func (s *Source) chunkIssues(ctx context.Context, repoInfo repoInfo, issues []*g
|
|||
},
|
||||
},
|
||||
},
|
||||
Data: []byte(sanitizer.UTF8(issue.GetBody())),
|
||||
Data: []byte(sanitizer.UTF8(issue.GetTitle() + issue.GetBody())),
|
||||
Verify: s.verify,
|
||||
}
|
||||
|
||||
|
@ -1455,7 +1455,7 @@ func (s *Source) chunkPullRequests(ctx context.Context, repoInfo repoInfo, prs [
|
|||
},
|
||||
},
|
||||
},
|
||||
Data: []byte(sanitizer.UTF8(pr.GetBody())),
|
||||
Data: []byte(sanitizer.UTF8(pr.GetTitle() + pr.GetBody())),
|
||||
Verify: s.verify,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue