generated from meshery/meshery-istio
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security] Make release URL as constant type (fix CWE-88) #141
Closed
+629
−218
Closed
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
868e796
Make release URL as constant type
alphaX86 f39c428
Updated file
unnati914 462e741
Updated files
unnati914 80740b0
Merge pull request #142 from unnati914/master
leecalcote ed97280
chore: Changed version none to edge
Abhijay007 f401e95
Merge pull request #145 from Abhijay007/chore/Abhijay007/version
leecalcote eaf234a
fix typos for traefik-mesh name
theBeginner86 4435ab2
Merge pull request #146 from theBeginner86/fix-typo
leecalcote 2334c63
update e2etest.yaml
theBeginner86 3818497
fix expected_pods_namespace
theBeginner86 e627b6e
Merge pull request #147 from theBeginner86/theBeginner86/ci/issue139
Revolyssup d8172fa
fix minor syntax error in e2etest.yaml
theBeginner86 b5fee96
Merge pull request #148 from theBeginner86/minor-changes-e2etest
Revolyssup 2675f76
add step for generating short_sha for filename
theBeginner86 e370a8f
Merge remote-tracking branch 'upstream/master' into minor-changes-e2e…
theBeginner86 9281b54
Merge pull request #149 from theBeginner86/minor-changes-e2etest
Revolyssup c81e97c
Add Ashish and Rudraksh in reviewers
Revolyssup 9e21c00
Merge pull request #150 from Revolyssup/dep
Revolyssup 091083a
Add build time and modify run time comp generation
Revolyssup 690b8f2
Add build time and modify run time comp generation
Revolyssup b3ee972
Add build time and modify run time comp generation
Revolyssup 82fdda2
Update go version
Revolyssup 656d7f2
Minor changes
Revolyssup 69f213d
fix security check
Revolyssup 06abb62
Merge pull request #156 from Revolyssup/abc
leecalcote f4dc791
Bump github.com/layer5io/meshkit from 0.2.34 to 0.5.2
dependabot[bot] 82d6c1d
[Patterns] Pattern components generated from latest Traefik manifests
leecalcote 4ea6b14
Merge pull request #157 from meshery/dependabot/go_modules/github.com…
leecalcote b2b0d0b
Fix #159
Revolyssup d3418c6
Merge pull request #160 from Revolyssup/schemas
leecalcote 5cff7b8
changed timestamp format for e2e test
asubedy 9ca20a9
Merge pull request #162 from asubedy/timestamp-format
leecalcote a5d75c5
Make release URL as constant type
alphaX86 feeb046
Merge branch 'cwe88-fix' of https://github.com/alphaX86/meshery-traef…
alphaX86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
@meshery/adapter-maintainers please take note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This uses github API, I have added the page scraping way in meshkit. I think, that should be reused everywhere. We need to get off github API completely for fetching latest releases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, very good point, @Revolyssup.
@manav1403 or @piyushsingariya might point out examples of where this has been done elsewhere, so that we can move entirely away from any api.github.com requests and over to github.com requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind. I think @Revolyssup has this covered here - https://github.com/meshery/meshery/pull/4667/files/040346d6d219572aad6e1979b6cd0a00e0db083c..dd64b57cf7825d0094b4bc00a512f945fccfc942
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK... This makes sense, if that change is implemented I'll include the method here too