Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 6 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
The intended audience of this file is for py42 consumers -- as such, changes that don't affect
how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here.

## 1.18.0 - 2023-11-30

### Added

- Support for Python 3.12, includes various dependency version requirement updates.

## 1.17.0 - 2023-08-04

### Removed
Expand Down
2 changes: 1 addition & 1 deletion 2 src/code42cli/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.17.0"
__version__ = "1.18.0"
5 changes: 5 additions & 0 deletions 5 src/code42cli/output_formats.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import csv
import io
import json
import warnings
from itertools import chain
from typing import Generator

Expand All @@ -16,6 +17,8 @@
from code42cli.util import find_format_width
from code42cli.util import format_to_table

# remove this once we drop support for Python 3.7
warnings.filterwarnings("ignore", category=FutureWarning)

CEF_DEFAULT_PRODUCT_NAME = "Advanced Exfiltration Detection"
CEF_DEFAULT_SEVERITY_LEVEL = "5"
Expand Down Expand Up @@ -90,6 +93,8 @@ def _iter_table(self, dfs, columns=None, **kwargs):
if df.empty:
return
# convert everything to strings so we can left-justify format
# applymap() is deprecated in favor of map() for pandas 2.0+ (method renamed)
# pandas only supports Python 3.8+, update this once we drop support for Python 3.7
df = df.fillna("").applymap(str)
# set overrideable default kwargs
kwargs = {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.