BlondieRides said:
Are they OK in the garden or will it eat my young plants?
Some Scarab beetle larvae do eat plants, others do not. Scarab beetles or their larvae that eat plants include the Japanese beetle, the June beetle and others - they are the grubs that get into lawns to eat the grass roots and cause skunks etc. dig them up for lunch. Japanese beetle adults also eat above ground parts of plants but I don't think JBs are established in California? Anyway, since these grubs are in your compost pile chances are they quite likely are not a kind that eats plants.