I have a python code like below using ArgParser,
import argparse
parser = argparse.ArgumentParser()
parser.add_argument(
"-s", "--schema", help="Schema", type=str, required=True
)
parser.add_argument(
"-c", "--credentials", help="Credentials", type=str, required=True
)
When I run Sonarqube over this, I'm getting the following security hotspot,
Make sure that command line arguments are used safely here
with argparser.
How to fix this?