Lawmakers introduced legislation to publish standards for granting, denying or revoking security clearances.