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

V14.2.2 is partly duplicate with V2.5.4 #880

Closed
elarlang opened this issue Dec 9, 2020 · 19 comments
Closed

V14.2.2 is partly duplicate with V2.5.4 #880

elarlang opened this issue Dec 9, 2020 · 19 comments
Assignees

Comments

@elarlang
Copy link
Collaborator

elarlang commented Dec 9, 2020

14.2.2

V14.2.2 Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications, platform documentation, and default or example users.

Last part of the requirement is covered by V2.5.4 requirement:

V2.5.4 Verify shared or default accounts are not present (e.g. "root", "admin", or "sa").

Recommendation:

V14.2.2 Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications and platform documentation

If needed, add "example account" to V2.5.4 requirement:

V2.5.4 Verify shared, default or example accounts are not present (e.g. "root", "admin", or "sa").

@jmanico
Copy link
Member

jmanico commented Dec 9, 2020 via email

@elarlang
Copy link
Collaborator Author

elarlang commented Jan 4, 2021

Proposal:

  • V14.2.2 Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications, platform documentation.

Is there need to finetune V2.5.4 as well or it can stay like it is at the moment?

@jmanico
Copy link
Member

jmanico commented Jan 4, 2021 via email

@elarlang
Copy link
Collaborator Author

elarlang commented Jan 4, 2021

I would say "samples" and "test code" are different things and this requirement targets "samples" (or examples), demo pages etc.

"test code" matches well with automated tests, and it may be confusing from this point of view.

@jmanico
Copy link
Member

jmanico commented Jan 4, 2021 via email

@elarlang
Copy link
Collaborator Author

elarlang commented Jan 4, 2021

"Verify that production environment codes does not have test code." or something like that I would keep as new and separate requirement (opened separate issue #894 ).

Why:

  • current requirement (V14.2.2) is targeting all the "package" and overhead, what comes with application/modules/components by default and what you should remove from your code anyway
  • test-code is something what you want to keep in your test, pre-live, staging (or however you want to call your non-production environments), but you need to remove it from production code or you don't need to deploy it to production.

@jmanico
Copy link
Member

jmanico commented Jan 4, 2021 via email

@elarlang
Copy link
Collaborator Author

elarlang commented Jan 4, 2021

Demo sounds good. But demo what? Demo code, demo functionality, demo application?

@jmanico
Copy link
Member

jmanico commented Jan 4, 2021 via email

@jmanico
Copy link
Member

jmanico commented Mar 11, 2021

So I agree delete 2.5.4 and suggest a small change to 14.2.2. This one is ready for PR!

Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications, platform documentation, and default users.

@elarlang
Copy link
Collaborator Author

I prefer to keep V2.5.4 and remove "accounts/users" part from V14.2.2 as default and test-accounts are clearly separate problem from sample pages and configuration. data vs code question.

For discussion: additional concern is - how requirement V14.2.2 is actually "dependency" requirement. Maybe it belongs more to "deploy" subcategory.

@jmanico
Copy link
Member

jmanico commented Mar 11, 2021

That's a great idea, I support it.

And I support moving 14.2.2 out of dependency and move it to 14.1.6 (build/depoy section). Sound good?

@jmanico
Copy link
Member

jmanico commented Mar 11, 2021

Should we also rename section 14.1 from Build to Build and Deploy ?

@elarlang
Copy link
Collaborator Author

Agreed so far:

Wording is still not finalized. My last proposal:

V14.2.2 Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications, platform documentation.

Jim didn't like the word "samples" and preferred "demo" instead. But demo what? Demo functionality? Functionality demo? And do we need this last part of the requirement, as it's just repeating first part of the requirement?

Proposal: [MODIFIED, MOVED FROM 14.2.2]:
V14.1.6 Verify that all unneeded features, documentation, demo functionalities and configurations are removed.

@jmanico
Copy link
Member

jmanico commented Mar 18, 2021

demo implies something else so I surrender to "sample applications" or similar.

@elarlang
Copy link
Collaborator Author

V14.1.6 Verify that all unneeded features, documentations, samples applications and configurations are removed.

or

V14.1.6 Verify that all unneeded features, documentations, samples and configurations are removed, such as sample applications, platform documentation.

@jmanico
Copy link
Member

jmanico commented Mar 18, 2021

How about:

V14.1.6 Verify that all unneeded features, documentation, sample applications and configurations are removed from production applications.

@elarlang
Copy link
Collaborator Author

Why do you need them in test-environment?
argumentation #880 (comment)

@jmanico
Copy link
Member

jmanico commented Mar 18, 2021

I often want to experiment on my dev or test server. It's part of a typical developer flow. But... I see your point. I would accept the following as a PR.

V14.1.6 Verify that all unneeded features, documentation, sample applications and configurations are removed.

jmanico added a commit that referenced this issue Mar 18, 2021
elarlang pushed a commit to elarlang/ASVS that referenced this issue Oct 25, 2021
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

No branches or pull requests

2 participants