Skip to content

Commit

Permalink
[COST 5161] Drop azure v1 reports support (#513)
Browse files Browse the repository at this point in the history
feat: dropping Azure v1 report support, improving v2 report support.
  • Loading branch information
bacciotti authored Jul 17, 2024
1 parent e3f0922 commit d4b49e2
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 138 deletions.
2 changes: 1 addition & 1 deletion nise/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "4.5.7"
__version__ = "4.6.0"

VERSION = __version__.split(".")
8 changes: 4 additions & 4 deletions nise/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@ def add_azure_parser_args(parser):
help="Azure container to place the data.",
)
parser.add_argument(
"-v2",
"--version-two",
dest="version_two",
"-rg",
"--resource-group",
dest="resource_group",
action="store_true",
required=False,
help="Generate version two of the azure report.",
help="Generate resource group based azure report.",
)


Expand Down
22 changes: 11 additions & 11 deletions nise/generators/azure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
"""Module for azure data generators."""
from nise.generators.azure.azure_generator import AZURE_COLUMNS # noqa: F401
from nise.generators.azure.azure_generator import AZURE_COLUMNS_V2 # noqa: F401
from nise.generators.azure.azure_generator import AzureGenerator # noqa: F401
from nise.generators.azure.bandwidth_generator import BandwidthGenerator # noqa: F401
from nise.generators.azure.ccsp_generator import CCSPGenerator # noqa: F401
from nise.generators.azure.data_transfer_generator import DTGenerator # noqa: F401
from nise.generators.azure.managed_disk_generator import ManagedDiskGenerator # noqa: F401
from nise.generators.azure.sql_database_generator import SQLGenerator # noqa: F401
from nise.generators.azure.storage_generator import StorageGenerator # noqa: F401
from nise.generators.azure.virtual_machine_generator import VMGenerator # noqa: F401
from nise.generators.azure.virtual_network_generator import VNGenerator # noqa: F401
from nise.generators.azure.azure_generator import AZURE_COLUMNS_V2_RESOURCE_GROUP
from nise.generators.azure.azure_generator import AZURE_COLUMNS_V2_SUBSCRIPTION
from nise.generators.azure.azure_generator import AzureGenerator
from nise.generators.azure.bandwidth_generator import BandwidthGenerator
from nise.generators.azure.ccsp_generator import CCSPGenerator
from nise.generators.azure.data_transfer_generator import DTGenerator
from nise.generators.azure.managed_disk_generator import ManagedDiskGenerator
from nise.generators.azure.sql_database_generator import SQLGenerator
from nise.generators.azure.storage_generator import StorageGenerator
from nise.generators.azure.virtual_machine_generator import VMGenerator
from nise.generators.azure.virtual_network_generator import VNGenerator
Loading

0 comments on commit d4b49e2

Please sign in to comment.