Skip to content

Conversation

@kingthorin
Copy link
Member

Initial relocation of the Params extension/add-on from core.

@kingthorin
Copy link
Member Author

Add-on loads and works as expected. Help doesn't work for some reason that I haven't been able to nail down. (I've compared vs spider and don't see the missing bit).

I still need to address the DB bits.

Turns out there were not images/icons in use.


public ExtensionParams2() {
super(NAME);
this.setOrder(59);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bumped this to 59 vs core 58.

@kingthorin kingthorin force-pushed the migrate-params branch 2 times, most recently from 77cd1e0 to 76933e1 Compare November 21, 2025 14:15
@psiinon
Copy link
Member

psiinon commented Nov 21, 2025

Logo
Checkmarx One – Scan Summary & Details6584fc35-4543-4669-9f9e-885eeba86694

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

@kingthorin kingthorin force-pushed the migrate-params branch 2 times, most recently from 08eff9c to 08bfcb1 Compare November 21, 2025 14:21
@thc202
Copy link
Member

thc202 commented Nov 21, 2025

This will have to be synced once zaproxy/zaproxy#9148 is merged.

Signed-off-by: kingthorin <[email protected]>
@@ -0,0 +1,2 @@
version=0.0.1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.1.0?


zapAddOn {
addOnName.set("Params")
addOnStatus.set(AddOnStatus.RELEASE)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different status?

Comment on lines +144 to +154
public void unload() {
super.unload();

ExtensionPassiveScan2 extensionPassiveScan =
Control.getSingleton()
.getExtensionLoader()
.getExtension(ExtensionPassiveScan2.class);
if (extensionPassiveScan != null) {
extensionPassiveScan.getPassiveScannersManager().remove(paramScanner);
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I seem to be missing something here but I couldn't figure out what it was.

@kingthorin
Copy link
Member Author

This will have to be synced once zaproxy/zaproxy#9148 is merged.

That would mean depending on a core snapshot wouldn't it?

@thc202
Copy link
Member

thc202 commented Nov 21, 2025

No, can use reflection.

@kingthorin
Copy link
Member Author

Oh like it'll just use the functionality if available, then later when targeting 2.17 or whatever it can use the code directly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants