Skip to content

fix(cli): replace getResource with containsResourceWithIdentifier in delete operations#748

Merged
AlessandroPomponio merged 1 commit into
mainfrom
ap_746_fix_ado_delete
Mar 26, 2026
Merged

fix(cli): replace getResource with containsResourceWithIdentifier in delete operations#748
AlessandroPomponio merged 1 commit into
mainfrom
ap_746_fix_ado_delete

Conversation

@AlessandroPomponio
Copy link
Copy Markdown
Member

Avoids issue where one couldn't delete invalid resources

Fixes #746

…delete operations

Avoids issue where one couldn't delete invalid resources

Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
@DRL-NextGen
Copy link
Copy Markdown
Member

Checks Summary

Last run: 2026-03-26T13:46:52.573Z

Mend Unified Agent vulnerability scan found 2 vulnerabilities:

Severity Identifier Package Details Fix
🔷 Medium CVE-2026-25645 requests-2.32.5-py3-none-any.whl
Requests is a HTTP library. Prior to version 2.33.0, the "requests.utils.extract_zipped_paths()" uti...Requests is a HTTP library. Prior to version 2.33.0, the "requests.utils.extract_zipped_paths()" utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Standard usage of the Requests library is not affected by this vulnerability. Only applications that call "extract_zipped_paths()" directly are impacted. Starting in version 2.33.0, the library extracts files to a non-deterministic location. If developers are unable to upgrade, they can set "TMPDIR" in their environment to a directory with restricted write access.
Upgrade to version https://github.com/psf/requests.git - v2.33.0
🔸 Low CVE-2026-4539 pygments-2.19.2-py3-none-any.whl
A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function A...A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Not Available

@AlessandroPomponio AlessandroPomponio added this pull request to the merge queue Mar 26, 2026
Merged via the queue into main with commit eeb6768 Mar 26, 2026
19 checks passed
@AlessandroPomponio AlessandroPomponio deleted the ap_746_fix_ado_delete branch March 26, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(cli): ado delete uses getResource and makes it impossible to delete invalid resources

3 participants