An internet search for "requirements of authorship" will turn up the information you need. I point specifically to the stamens of ICMJE, which gives a good summary applicable outside the medical field as well.
Not all fields adhere closely to this, though it requires interpretation. In some lab sciences in which a PI runs and finances a lab, hires lab assistants, etc. it is often the case that the PI appears as an author even when having little to do specifically with the work other than to provide the environment in which that work was possible. Doctoral students, for example, can't fund their own multi-million dollar labs. But even in these cases, the PI probably vets the work (directly or indirectly) and is expected to stand behind all claims and results.
But, do the search to see how widely these ideas are shared. A number of research universities publish similar statements as you will see.