Have this thingy in my backyard and bought a replacement mica cover thingy as the original one was missing the filter.

Does anyone know how low I can cut the white plastic pipe so I can lower the whole thing? I heard there's a minimum height requirement by law?

Also, do I need to tape or seal it into the pipe to stop the kid pulling it out and/or stop rainwater going in?