Skip to content
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

Implement getMetadata for some more Passive scripts #452

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

ricekot
Copy link
Member

@ricekot ricekot commented Jun 12, 2024

Update the following scripts to implement the getMetadata() function:

  • passive/google_api_keys_finder.js
  • passive/JavaDisclosure.js
  • passive/Report non static sites.js
  • passive/RPO.js
  • passive/s3.js

Part of #440.

This indicates that this may not be a static site.
solution: >
If this is not a static site then ignore or disable this rule.
risk: high
Copy link
Member

Choose a reason for hiding this comment

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

I understand you've recreated what was previously here but ummm imho we are safe to change this

Copy link
Member

Choose a reason for hiding this comment

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

I guess if it is changed that should be noted in the changelog

Copy link
Member Author

@ricekot ricekot Jun 13, 2024

Choose a reason for hiding this comment

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

I was thinking that too. Should I update it to info?

Copy link
Member

Choose a reason for hiding this comment

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

That seems reasonable to me

Copy link
Member

Choose a reason for hiding this comment

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

Regarding the changelog, some names/descriptions/… were changed as well (not only in this PR), maybe add a generic entry saying that the scripts that now implement getMetadata() had their info revised?

passive/s3.js Outdated Show resolved Hide resolved
Update the following scripts to implement the `getMetadata()` function:
- passive/google_api_keys_finder.js
- passive/JavaDisclosure.js
- passive/Report non static sites.js
- passive/RPO.js
- passive/s3.js

Signed-off-by: ricekot <[email protected]>
@ricekot ricekot force-pushed the passive-scripts-metadata branch from 16d2c67 to 6851ba7 Compare June 16, 2024 19:25
@thc202
Copy link
Member

thc202 commented Jun 17, 2024

Thank you!

@kingthorin kingthorin merged commit f270fe0 into zaproxy:main Jun 17, 2024
8 checks passed
@ricekot ricekot deleted the passive-scripts-metadata branch June 17, 2024 08:43
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