Russian President Vladimir Putin signed a law that allows detention for 30 days for violating the martial law regime, RIA reported on Saturday.