Skip to content

Commit

Permalink
Merge pull request #13 from ddeboni/main
Browse files Browse the repository at this point in the history
Update transform.py
  • Loading branch information
NeilHanlon authored Sep 7, 2023
2 parents 690bdcf + e1cebb1 commit d995728
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions oval/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ def definitions( advisories, rl_version ) :
advisories.reset_index( )
for _, advisory in advisories.iterrows( ) :

# filtering out non-RLSA types (following addition of RXSA)
if advisory[ 'name' ].split( '-' )[ 0 ] != "RLSA" :
continue

severity = advisory[ 'synopsis' ].split( ':' )[ 0 ]
issued = advisory[ 'publishedAt' ].split( 'T' )[ 0 ]

Expand Down

0 comments on commit d995728

Please sign in to comment.