Skip to content

Commit

Permalink
update analyzer with lifecycle keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
sgandrathi committed Sep 7, 2023
1 parent 8f67117 commit 85d6118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/descriptor_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _check_authn_authz(self) -> Tuple[bool, List[str], bool, List[str], bool, Li

# We shouldn't be able to visit this link if the app uses authentication.
if res_code >= 200 and res_code < 400 and not invalid_response:
if any(x in link for x in ('installed', 'uninstalled')):
if any(x in link for x in ('installed', 'install', 'uninstalled', 'uninstall')):
signed_install_passed = False
signed_install_proof_text = f"Lifecycle endpoint: {link} | Res Code: {res_code}" \
f" Auth Header: {auth_header}"
Expand Down

0 comments on commit 85d6118

Please sign in to comment.